Btrfs: reorder locks and sanity checks in btrfs_ioctl_defrag
Operation-specific check (whether subvol is readonly or not) should go
after the mutual exclusiveness check.
Signed-off-by:
Ilya Dryomov <idryomov@gmail.com>
parent
4ac20c70
Please register or sign in to comment