mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
ebb3dad435
commit
b3ae244e71
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue