git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0660b5a
)
Btrfs: prevent loops in the directory tree when creating snapshots
author
Chris Mason
<chris.mason@oracle.com>
Tue, 18 Nov 2008 02:14:24 +0000
(21:14 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Tue, 18 Nov 2008 02:14:24 +0000
(21:14 -0500)
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>
No differences found