summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorBen Hutchings2010-12-29 15:55:03 +0100
committerChris Mason2011-01-16 17:30:20 +0100
commit6f88a4403def422bd8e276ddf6863d6ac71435d2 (patch)
tree8fe01d61977e0113cc0a4fa77b7df7f8dfeecad9 /fs/btrfs/disk-io.c
parentBtrfs: don't warn if we get ENOSPC in btrfs_block_rsv_check (diff)
downloadkernel-qcow2-linux-6f88a4403def422bd8e276ddf6863d6ac71435d2.tar.gz
kernel-qcow2-linux-6f88a4403def422bd8e276ddf6863d6ac71435d2.tar.xz
kernel-qcow2-linux-6f88a4403def422bd8e276ddf6863d6ac71435d2.zip
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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions