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:
edc95ae
)
btrfs: fix dereference before check
author
David Sterba
<dsterba@suse.cz>
Tue, 19 Apr 2011 14:45:00 +0000
(16:45 +0200)
committer
David Sterba
<dsterba@suse.cz>
Mon, 2 May 2011 11:57:20 +0000
(13:57 +0200)
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>
fs/btrfs/disk-io.c
patch
|
blob
|
history
diff --cc
fs/btrfs/disk-io.c
Simple merge