diff --git a/include/sys/zfs_vfsops.h b/include/sys/zfs_vfsops.h index efaefdaccb..d971c082c4 100644 --- a/include/sys/zfs_vfsops.h +++ b/include/sys/zfs_vfsops.h @@ -64,7 +64,6 @@ typedef struct zfs_mntopts { typedef struct zfs_sb { struct super_block *z_sb; /* generic super_block */ - struct backing_dev_info z_bdi; /* generic backing dev info */ struct zfs_sb *z_parent; /* parent fs */ objset_t *z_os; /* objset reference */ zfs_mntopts_t *z_mntopts; /* passed mount options */ diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c index 9989e5d86f..589b48d0f6 100644 --- a/module/zfs/zfs_vfsops.c +++ b/module/zfs/zfs_vfsops.c @@ -1403,8 +1403,6 @@ zfs_domount(struct super_block *sb, zfs_mntopts_t *zmo, int silent) sb->s_time_gran = 1; sb->s_blocksize = recordsize; sb->s_blocksize_bits = ilog2(recordsize); - zsb->z_bdi.ra_pages = 0; - sb->s_bdi = &zsb->z_bdi; error = -zpl_bdi_setup(sb, "zfs"); if (error)