aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/async-thread.c')
-rw-r--r--fs/btrfs/async-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index 3e36e4adc4a3..88d9af3d4581 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -97,7 +97,7 @@ static struct __btrfs_workqueue *
97__btrfs_alloc_workqueue(const char *name, unsigned int flags, int limit_active, 97__btrfs_alloc_workqueue(const char *name, unsigned int flags, int limit_active,
98 int thresh) 98 int thresh)
99{ 99{
100 struct __btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_NOFS); 100 struct __btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_KERNEL);
101 101
102 if (!ret) 102 if (!ret)
103 return NULL; 103 return NULL;
@@ -148,7 +148,7 @@ struct btrfs_workqueue *btrfs_alloc_workqueue(const char *name,
148 int limit_active, 148 int limit_active,
149 int thresh) 149 int thresh)
150{ 150{
151 struct btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_NOFS); 151 struct btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_KERNEL);
152 152
153 if (!ret) 153 if (!ret)
154 return NULL; 154 return NULL;