Chris Mason ea9e8b11bd Btrfs: prevent loops in the directory tree when creating snapshots
For a directory tree:

/mnt/subvolA/subvolB

btrfsctl -s /mnt/subvolA/subvolB /mnt

Will create a directory loop with subvolA under subvolB.  This
commit uses the forward refs for each subvol and snapshot to error out
before creating the loop.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-11-17 21:14:24 -05:00
..
2008-09-25 11:04:07 -04:00
2008-09-29 15:18:18 -04:00
2007-06-12 09:07:21 -04:00
2008-09-29 15:18:18 -04:00
2008-11-17 21:11:30 -05:00
2008-09-29 15:18:18 -04:00
2008-11-12 14:34:12 -05:00
2008-09-25 11:04:06 -04:00
2008-09-25 11:04:06 -04:00
2007-06-22 14:49:31 -04:00
2008-09-29 15:18:18 -04:00
2008-10-29 14:49:59 -04:00
2008-10-30 14:25:28 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-09-29 15:18:18 -04:00
2008-10-30 14:25:28 -04:00
2008-09-25 11:04:06 -04:00
2008-11-17 21:11:30 -05:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:07 -04:00