From: Chris Mason Date: Mon, 15 Mar 2010 14:21:30 +0000 (-0400) Subject: Btrfs: don't look at bio flags after submit_bio X-Git-Tag: v2.6.34-rc2~21^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ff7ba3a797a8ffd5299b8477df2dca3c3ebd34e;p=pandora-kernel.git Btrfs: don't look at bio flags after submit_bio After callling submit_bio, the bio can be freed at any time. The btrfs submission thread helper was checking the bio flags too late, which might not give the correct answer. When CONFIG_DEBUG_PAGE_ALLOC is turned on, it can lead to oopsen. Signed-off-by: Chris Mason --- Reading git-diff-tree failed