commit | 6f88a4403def422bd8e276ddf6863d6ac71435d2 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Wed Dec 29 14:55:03 2010 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Sun Jan 16 11:30:20 2011 -0500 |
tree | 8fe01d61977e0113cc0a4fa77b7df7f8dfeecad9 | |
parent | f690efb1aa2a961dd6655529c1797fcac60ad6d9 [diff] |
btrfs: Require CAP_SYS_ADMIN for filesystem rebalance Filesystem rebalancing (BTRFS_IOC_BALANCE) affects the entire filesystem and may run uninterruptibly for a long time. This does not seem to be something that an unprivileged user should be able to do. Reported-by: Aron Xu <happyaron.xu@gmail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Chris Mason <chris.mason@oracle.com>