Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment