diff options
author | 2010-03-15 10:21:30 -0400 | |
---|---|---|
committer | 2010-03-15 11:00:15 -0400 | |
commit | 5ff7ba3a797a8ffd5299b8477df2dca3c3ebd34e (patch) | |
tree | 598f33540071cd31bd7738b5d6246bfbaa0d9b3b /drivers/ide/ide-atapi.c | |
parent | btrfs: using btrfs_stack_device_id() get devid (diff) | |
download | wireguard-linux-5ff7ba3a797a8ffd5299b8477df2dca3c3ebd34e.tar.xz wireguard-linux-5ff7ba3a797a8ffd5299b8477df2dca3c3ebd34e.zip |
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>
Diffstat (limited to 'drivers/ide/ide-atapi.c')
0 files changed, 0 insertions, 0 deletions