summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2013-02-13 04:20:01 -0700
committerChris Mason <chris.mason@fusionio.com>2013-02-14 20:47:41 -0500
commit2a745b14bc99d52c29d0c886a110321f651cf183 (patch)
treefb8634d03757d50dc56cd82fd5a6364d201bfcd1 /fs/btrfs/super.c
parent1a65e24b0bb7dde48cac4a2bf74d5558f9e32ba7 (diff)
downloadlinux-2a745b14bc99d52c29d0c886a110321f651cf183.tar.bz2
Btrfs: fix crash in log replay with qgroups enabled
When replaying a log tree with qgroups enabled, tree_mod_log_rewind does a sanity-check of the number of items against the maximum possible number. It calculates that number with the nodesize of fs_root. Unfortunately fs_root is not yet set at this stage. So instead use the nodesize from tree_root, which is already initialized. Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions