Commit 72bcd99d authored by Josef Bacik's avatar Josef Bacik Committed by Josef Bacik
Browse files

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: default avatarJosef Bacik <jbacik@fusionio.com>
parent 97547676
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}