Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135582
b: refs/heads/master
c: 6933c02
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Mar 26, 2009
1 parent 486e9fa commit b700582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26160158d3d3df548f4ee046cc6147fe048cfa9c
refs/heads/master: 6933c02e9cc47c2df3c016621a013ec79fb4203f
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2385,7 +2385,7 @@ void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr)
unsigned long thresh = 32 * 1024 * 1024;
tree = &BTRFS_I(root->fs_info->btree_inode)->io_tree;

if (current_is_pdflush() || current->flags & PF_MEMALLOC)
if (current->flags & PF_MEMALLOC)
return;

num_dirty = count_range_bits(tree, &start, (u64)-1,
Expand Down

0 comments on commit b700582

Please sign in to comment.