From: Ben Hutchings Date: Wed, 29 Dec 2010 14:55:03 +0000 (+0000) Subject: btrfs: Require CAP_SYS_ADMIN for filesystem rebalance X-Git-Tag: v2.6.38-rc1~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f88a4403def422bd8e276ddf6863d6ac71435d2;p=pandora-kernel.git 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 Signed-off-by: Ben Hutchings Signed-off-by: Chris Mason --- Reading git-diff-tree failed