Commit e2fcf7f6 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix BCH_IOCTL_DISK_SET_STATE



 - Ensure we print an error message if necessary.

   Ideally we'd return the precise error code to userspace and leave
   printing the error message to the userspace tool, but we haven't
   decided to make our private error codes ABI-stable yet.

 - Return standard error code to userspace

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 447e9227
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment