]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/xfs/xfs_super.c
blk: replace bioset_create_nobvec() with a flags arg to bioset_create()
[mirror_ubuntu-bionic-kernel.git] / fs / xfs / xfs_super.c
index 455a575f101db1f22b8c8c0aca247d627f82ea4c..97df4db13b2edb14644972ccd92f72fdf3ca94e9 100644 (file)
@@ -1766,7 +1766,8 @@ STATIC int __init
 xfs_init_zones(void)
 {
        xfs_ioend_bioset = bioset_create(4 * MAX_BUF_PER_PAGE,
-                       offsetof(struct xfs_ioend, io_inline_bio));
+                       offsetof(struct xfs_ioend, io_inline_bio),
+                       BIOSET_NEED_BVECS);
        if (!xfs_ioend_bioset)
                goto out;