From: TARUISI Hiroaki Date: Thu, 12 Nov 2009 07:14:26 +0000 (+0000) Subject: Btrfs: deny sys_link across subvolumes. X-Git-Tag: v2.6.33-rc1~7^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a8be425a8fb8fbb5d881eb55fa6634c3463b9c9;p=pandora-kernel.git Btrfs: deny sys_link across subvolumes. I rebased Christian Parpart's patch to deny hard link across subvolumes. Original patch modifies also btrfs_rename, but I excluded it because we can move across subvolumes now and it make no problem. ----------------- Hard link across subvolumes should not allowed in Btrfs. btrfs_link checks root of 'to' directory is same as root of 'from' file. If not same, btrfs_link returns -EPERM. Signed-off-by: TARUISI Hiroaki Signed-off-by: Chris Mason --- Reading git-diff-tree failed