Skip to content
Commit 25122d15 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent 4ac20c70
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