diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-19 16:45:00 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 13:57:20 +0200 |
commit | 4891aca2dac612a2f21a3278d9906ade13b55788 (patch) | |
tree | 6ec35a8d5cae40ab8755cd3e70d471e85827c87c /fs/btrfs/tree-log.c | |
parent | edc95aec57661c8e568e18f6c3f002aefa07ebc8 (diff) | |
download | linux-4891aca2dac612a2f21a3278d9906ade13b55788.tar.bz2 |
btrfs: fix dereference before check
The superblock's ->s_fs_info is properly set in btrfs_fill_super, after
a call to open_ctree, which derefereces it before check. Although
tree_root is set via btrfs_set_super, let's be defensive and leave the
check in place.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions