diff options
author | David Sterba <dsterba@suse.com> | 2017-02-13 12:10:20 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:49 +0100 |
commit | 323b88f4ab668d957a75befcb1079ae9a6e9e4d1 (patch) | |
tree | d8a0f2d3cc263754e210cbc58e28e7cb5d651211 /fs | |
parent | 23269bf5eafb3bd8036d9412a80cbfc25f98f1a3 (diff) | |
download | linux-323b88f4ab668d957a75befcb1079ae9a6e9e4d1.tar.bz2 |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/qgroup.c | 2 |
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) if (!test_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags)) return 0; - fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS); + fs_info->qgroup_ulist = ulist_alloc(GFP_KERNEL); if (!fs_info->qgroup_ulist) { ret = -ENOMEM; goto out; |