summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorDavid Sterba2017-10-31 16:37:52 +0100
committerDavid Sterba2018-01-22 16:08:12 +0100
commitae0f162534e98afccc7d055cfaa3d3e920a928f0 (patch)
treed7d0ac84844e4243a0de378619333c0306b97cf5 /fs/btrfs/qgroup.c
parentbtrfs: prepare to drop gfp mask parameter from clear_extent_bit (diff)
downloadkernel-qcow2-linux-ae0f162534e98afccc7d055cfaa3d3e920a928f0.tar.gz
kernel-qcow2-linux-ae0f162534e98afccc7d055cfaa3d3e920a928f0.tar.xz
kernel-qcow2-linux-ae0f162534e98afccc7d055cfaa3d3e920a928f0.zip
btrfs: sink gfp parameter to clear_extent_bit
All callers use GFP_NOFS, we don't have to pass it as an argument. The built-in tests pass GFP_KERNEL, but they run only at module load time and NOFS works there as well. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r--fs/btrfs/qgroup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 168fd03ca3ac..9e61dd624f7b 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -2883,8 +2883,7 @@ cleanup:
ULIST_ITER_INIT(&uiter);
while ((unode = ulist_next(&reserved->range_changed, &uiter)))
clear_extent_bit(&BTRFS_I(inode)->io_tree, unode->val,
- unode->aux, EXTENT_QGROUP_RESERVED, 0, 0, NULL,
- GFP_NOFS);
+ unode->aux, EXTENT_QGROUP_RESERVED, 0, 0, NULL);
extent_changeset_release(reserved);
return ret;
}