Skip to content
Commit b3ae244e authored by David Sterba's avatar David Sterba Committed by Chris Mason
Browse files

btrfs: return EPERM upon rmdir on a subvolume



A subvolume cannot be deleted via rmdir, but the error code ENOTEMPTY
is confusing. Return EPERM instead, as this is not permitted.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
parent ebb3dad4
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