mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
Btrfs: add permission checks to the ioctls
Only root can add/remove devices Only root can defrag subtrees Only files open for writing can be defragged Only files open for writing can be the destination for a clone Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
b34b086c1c
commit
e441d54de4
2 changed files with 26 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue