summaryrefslogtreecommitdiff
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-27 00:54:39 +0300
committerDavid Sterba <dsterba@suse.com>2016-04-29 12:01:47 +0300
commit2c53b912ae317e560bce1fc446e76915a5b30587 (patch)
treea46230fa250c843058a4ee55e390b9338c8ed903 /fs/btrfs/qgroup.c
parent3744dbeb7033825e53b919ae0887e08e924841a9 (diff)
downloadlinux-2c53b912ae317e560bce1fc446e76915a5b30587.tar.xz
btrfs: sink gfp parameter to set_record_extent_bits
Single caller passes GFP_NOFS. 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 129392a78986..34af959b4e0f 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -2542,8 +2542,7 @@ int btrfs_qgroup_reserve_data(struct inode *inode, u64 start, u64 len)
changeset.bytes_changed = 0;
changeset.range_changed = ulist_alloc(GFP_NOFS);
ret = set_record_extent_bits(&BTRFS_I(inode)->io_tree, start,
- start + len -1, EXTENT_QGROUP_RESERVED, GFP_NOFS,
- &changeset);
+ start + len -1, EXTENT_QGROUP_RESERVED, &changeset);
trace_btrfs_qgroup_reserve_data(inode, start, len,
changeset.bytes_changed,
QGROUP_RESERVE);