diff options
Diffstat (limited to 'libbcachefs/error.c')
-rw-r--r-- | libbcachefs/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/error.c b/libbcachefs/error.c index 5a5cfee6..1662a362 100644 --- a/libbcachefs/error.c +++ b/libbcachefs/error.c @@ -85,7 +85,7 @@ enum fsck_err_ret bch2_fsck_err(struct bch_fs *c, unsigned flags, if (s->fmt == fmt) goto found; - s = kzalloc(sizeof(*s), GFP_KERNEL); + s = kzalloc(sizeof(*s), GFP_NOFS); if (!s) { if (!c->fsck_alloc_err) bch_err(c, "kmalloc err, cannot ratelimit fsck errs"); |