mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Btrfs: set flushing if we're limited flushing
We still need to say we're flushing if we're limit flushing to keep somebody from coming in and stealing our reservation. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
parent
9754767657
commit
72bcd99d45
1 changed files with 1 additions and 1 deletions
|
|
@ -3997,7 +3997,7 @@ again:
|
|||
* We make the other tasks wait for the flush only when we can flush
|
||||
* all things.
|
||||
*/
|
||||
if (ret && flush == BTRFS_RESERVE_FLUSH_ALL) {
|
||||
if (ret && flush != BTRFS_RESERVE_NO_FLUSH) {
|
||||
flushing = true;
|
||||
space_info->flush = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue