Skip to content
Snippets Groups Projects
Commit e441d54d authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent b34b086c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment