aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 1747dfd18654..92d73929d381 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2407,7 +2407,7 @@ void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr)
2407 unsigned long thresh = 32 * 1024 * 1024; 2407 unsigned long thresh = 32 * 1024 * 1024;
2408 tree = &BTRFS_I(root->fs_info->btree_inode)->io_tree; 2408 tree = &BTRFS_I(root->fs_info->btree_inode)->io_tree;
2409 2409
2410 if (current_is_pdflush() || current->flags & PF_MEMALLOC) 2410 if (current->flags & PF_MEMALLOC)
2411 return; 2411 return;
2412 2412
2413 num_dirty = count_range_bits(tree, &start, (u64)-1, 2413 num_dirty = count_range_bits(tree, &start, (u64)-1,