projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23269bf
)
btrfs: use GFP_KERNEL in btrfs_read_qgroup_config
author
David Sterba
<dsterba@suse.com>
Mon, 13 Feb 2017 11:10:20 +0000
(12:10 +0100)
committer
David Sterba
<dsterba@suse.com>
Fri, 17 Feb 2017 11:03:49 +0000
(12:03 +0100)
The qgroup config is read during mount, we do not have to use NOFS.
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/qgroup.c
b/fs/btrfs/qgroup.c
index 8496dbf3f38bcaf79ad4652dd15b068d7a417e18..cdd0a16bf4697ac2b0bd5da436ae717934c8a6e9 100644
(file)
--- 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;