diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-17 21:40:49 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-09 01:35:37 +0100 |
commit | 815745cf3e46681241ad8025602ffbf2a452d514 (patch) | |
tree | 7902ae81b199b383b5552e71b6d1cd21aff17fdb /fs/btrfs/export.c | |
parent | btrfs: consolidate failure exits in btrfs_mount() a bit (diff) | |
download | linux-815745cf3e46681241ad8025602ffbf2a452d514.tar.xz linux-815745cf3e46681241ad8025602ffbf2a452d514.zip |
btrfs: let ->s_fs_info point to fs_info, not root...
the latter can be obtained from the former (by looking as ->tree_root)
just as cheaply as we currently are doing the other way round.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/export.c')
-rw-r--r-- | fs/btrfs/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/export.c b/fs/btrfs/export.c index 1b8dc33778f9..5f77166fd01c 100644 --- a/fs/btrfs/export.c +++ b/fs/btrfs/export.c @@ -67,7 +67,7 @@ static struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid, u64 root_objectid, u32 generation, int check_generation) { - struct btrfs_fs_info *fs_info = btrfs_sb(sb)->fs_info; + struct btrfs_fs_info *fs_info = btrfs_sb(sb); struct btrfs_root *root; struct inode *inode; struct btrfs_key key; |