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>
This commit is contained in:
@@ -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))
|
if (!test_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS);
|
fs_info->qgroup_ulist = ulist_alloc(GFP_KERNEL);
|
||||||
if (!fs_info->qgroup_ulist) {
|
if (!fs_info->qgroup_ulist) {
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
goto out;
|
goto out;
|
||||||
|
|||||||
Reference in New Issue
Block a user