]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_log_recover.c
Merge tag 'kvmarm-fixes-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...
[linux.git] / fs / xfs / xfs_log_recover.c
index 508319039dceb54a3d1c167b82fa1c587fef709a..c1a514ffff55507e2986568868b7df915f3b00f8 100644 (file)
@@ -127,7 +127,7 @@ xlog_alloc_buffer(
        if (nbblks > 1 && log->l_sectBBsize > 1)
                nbblks += log->l_sectBBsize;
        nbblks = round_up(nbblks, log->l_sectBBsize);
-       return kmem_alloc_io(BBTOB(nbblks), align_mask, KM_MAYFAIL);
+       return kmem_alloc_io(BBTOB(nbblks), align_mask, KM_MAYFAIL | KM_ZERO);
 }
 
 /*