]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_buf_item.c
Merge tag 'for-linus-2019-10-18' of git://git.kernel.dk/linux-block
[linux.git] / fs / xfs / xfs_buf_item.c
index 7dcaec54a20bc368613d96ed9c76ace1dd431d53..d74fbd1e9d3eab6feac9d34e11ad00a9b7450bdb 100644 (file)
@@ -702,7 +702,7 @@ xfs_buf_item_get_format(
        }
 
        bip->bli_formats = kmem_zalloc(count * sizeof(struct xfs_buf_log_format),
-                               KM_SLEEP);
+                               0);
        if (!bip->bli_formats)
                return -ENOMEM;
        return 0;
@@ -747,7 +747,7 @@ xfs_buf_item_init(
                return 0;
        }
 
-       bip = kmem_zone_zalloc(xfs_buf_item_zone, KM_SLEEP);
+       bip = kmem_zone_zalloc(xfs_buf_item_zone, 0);
        xfs_log_item_init(mp, &bip->bli_item, XFS_LI_BUF, &xfs_buf_item_ops);
        bip->bli_buf = bp;