From: Arne Jansen Date: Wed, 13 Feb 2013 11:20:01 +0000 (-0700) Subject: Btrfs: fix crash in log replay with qgroups enabled X-Git-Tag: v3.9-rc1~17^2~29^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a745b14bc99d52c29d0c886a110321f651cf183;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed