Chris Mason 5ff7ba3a79 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 <chris.mason@oracle.com>
2010-03-15 11:00:15 -04:00
..
2010-03-15 11:00:14 -04:00
2010-03-15 10:58:13 -04:00
2008-09-25 11:04:06 -04:00
2010-03-15 11:00:14 -04:00
2010-03-15 11:00:14 -04:00
2009-02-04 09:28:28 -05:00
2009-04-02 16:46:06 -04:00
2010-03-15 11:00:14 -04:00
2009-01-05 21:25:51 -05:00