commit | 5ff7ba3a797a8ffd5299b8477df2dca3c3ebd34e | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Mar 15 10:21:30 2010 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Mon Mar 15 11:00:15 2010 -0400 |
tree | 598f33540071cd31bd7738b5d6246bfbaa0d9b3b | |
parent | a343832f1a55c74791a8a37053fc02ad80640710 [diff] |
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>