aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-13 06:10:20 -0500
committerDavid Sterba <dsterba@suse.com>2017-02-17 06:03:49 -0500
commit323b88f4ab668d957a75befcb1079ae9a6e9e4d1 (patch)
treed8a0f2d3cc263754e210cbc58e28e7cb5d651211
parent23269bf5eafb3bd8036d9412a80cbfc25f98f1a3 (diff)
btrfs: use GFP_KERNEL in btrfs_read_qgroup_config
The qgroup config is read during mount, we do not have to use NOFS. Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/qgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 8496dbf3f38b..cdd0a16bf469 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -319,7 +319,7 @@ int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info)
319 if (!test_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags)) 319 if (!test_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags))
320 return 0; 320 return 0;
321 321
322 fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS); 322 fs_info->qgroup_ulist = ulist_alloc(GFP_KERNEL);
323 if (!fs_info->qgroup_ulist) { 323 if (!fs_info->qgroup_ulist) {
324 ret = -ENOMEM; 324 ret = -ENOMEM;
325 goto out; 325 goto out;