UBIFS: seek journal heads to the latest bud in replay
[firefly-linux-kernel-4.4.55.git] / fs / ubifs / lprops.c
index c7b25e2f7764dd83fcf7db60cebe5c191aa6a3c2..0ee0847f24218b0e44cfefeb888dc501b8d159f1 100644 (file)
@@ -1094,7 +1094,7 @@ static int scan_check_cb(struct ubifs_info *c,
                }
        }
 
-       buf = __vmalloc(c->leb_size, GFP_KERNEL | GFP_NOFS, PAGE_KERNEL);
+       buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL);
        if (!buf) {
                ubifs_err("cannot allocate memory to scan LEB %d", lnum);
                goto out;