Skip to content
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
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