Skip to content
Commit 6c3abeda authored by David Sterba's avatar David Sterba
Browse files

btrfs: scrub: return EAGAIN when fs is closing



The error code used here is wrong as it's not invalid to try to start
scrub when umount has begun.  Returning EAGAIN is more user friendly as
it's recoverable.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 8de60fe9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment