From: Chris Mason Date: Mon, 5 Jan 2009 21:57:23 +0000 (-0500) Subject: Btrfs: add permission checks to the ioctls X-Git-Tag: v2.6.29-rc1~27^2~9^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e441d54de4fd97dd381f3e73636f5ba51ff4c7d9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed