diff options
author | 2008-08-19 22:20:17 +0100 | |
---|---|---|
committer | 2008-09-25 11:04:06 -0400 | |
commit | 2d4d9fbd6efa858dfa009518fca1ab85a73fd848 (patch) | |
tree | 81ac4d533be6eac033b551f20e6ee0b8a57c63b9 /fs/btrfs/root-tree.c | |
parent | Switch btrfs_name_hash() to crc32c (diff) | |
download | linux-dev-2d4d9fbd6efa858dfa009518fca1ab85a73fd848.tar.xz linux-dev-2d4d9fbd6efa858dfa009518fca1ab85a73fd848.zip |
Btrfs: Fix NFS exporting of subvol roots.
Date: Tue, 19 Aug 2008 22:20:17 +0100
btrfs_lookup_fs_root() only finds subvol roots which have already been
seen and put into the cache. For btrfs_get_dentry() we actually have to
go to the medium -- so use btrfs_read_fs_root_no_name() instead.
In btrfs_get_parent(), notice when we've hit the root of the
subvolume and return the real root instead.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
0 files changed, 0 insertions, 0 deletions