TARUISI Hiroaki 4a8be425a8 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 <taruishi.hiroak@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-12-17 12:33:37 -05:00
..
2009-06-11 21:36:14 -04:00
2009-07-12 12:22:34 -07:00
2009-10-04 15:05:10 -07:00
2009-09-23 07:39:28 -07:00
2009-09-30 12:19:44 -05:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-09-23 18:13:10 -07:00
2009-10-20 18:02:33 -04:00
2009-09-23 07:39:30 -07:00
2009-09-24 08:41:47 -04:00
2009-06-17 00:36:37 -04:00
2009-06-18 13:03:46 -07:00
2009-09-24 08:41:47 -04:00
2008-12-31 18:07:43 -05:00
2009-01-03 11:45:54 -08:00
2009-09-24 07:21:01 -07:00
2009-09-24 07:21:03 -07:00
2009-06-18 13:03:41 -07:00
2009-03-31 23:00:26 -04:00
2009-09-24 07:47:27 -04:00
2009-04-07 08:31:16 -07:00
2009-10-22 08:11:44 +09:00
2009-10-04 15:05:10 -07:00
2009-04-20 23:02:52 -04:00
2009-09-23 07:39:29 -07:00
2009-02-18 15:37:53 -08:00