diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-11-18 04:42:26 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-18 04:42:26 +0300 |
commit | 3394e1607eaf870ebba37d303fbd590a4c569908 (patch) | |
tree | 7833927ae6137122bea670544147be6a69f804ad /fs/btrfs/root-tree.c | |
parent | 3de4586c5278a28107030c336956381f69ff7a9d (diff) | |
download | linux-3394e1607eaf870ebba37d303fbd590a4c569908.tar.xz |
Btrfs: Give each subvol and snapshot their own anonymous devid
Each subvolume has its own private inode number space, and so we need
to fill in different device numbers for each subvolume to avoid confusing
applications.
This commit puts a struct super_block into struct btrfs_root so it can
call set_anon_super() and get a different device number generated for
each root.
btrfs_rename is changed to prevent renames across subvols.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
0 files changed, 0 insertions, 0 deletions