Chris Mason e441d54de4 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>
2009-01-05 16:57:23 -05:00
..
2008-09-25 11:04:07 -04:00
2008-11-20 10:22:27 -05:00
2007-06-12 09:07:21 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-12-08 16:46:26 -05:00
2008-09-25 11:04:06 -04:00
2008-09-25 11:04:06 -04:00
2007-06-22 14:49:31 -04:00
2008-09-29 15:18:18 -04:00
2008-10-29 14:49:59 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-12-12 10:03:26 -05:00
2008-12-12 10:03:26 -05:00
2008-09-25 11:04:07 -04:00