From: David Sterba Date: Mon, 13 Feb 2017 11:10:20 +0000 (+0100) Subject: btrfs: use GFP_KERNEL in btrfs_read_qgroup_config X-Git-Tag: v4.14-rc1~1080^2~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=323b88f4ab668d957a75befcb1079ae9a6e9e4d1;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 8496dbf..cdd0a16 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;