summaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorTony Hutter <[email protected]>2017-07-10 10:19:03 -0700
committerTony Hutter <[email protected]>2017-07-10 11:00:34 -0700
commit5a20d4283c848f8f6dfcaa6f9e4e46f77b4f60c8 (patch)
treee2e047d78d79661da1b3aad13b37f820f4877d2b /module/zfs
parentbf04e4d442ea261ff837fad539a02d33ee89f792 (diff)
Linux 4.12 compat: super_setup_bdi_name() - add missing code
This includes code that was mistakenly left out of the 7dae2c8 merge into 0.6.5.10. Its inclusion fixes a kernel warning on Kubuntu 17.04: WARN_ON(sb->s_bdi != &noop_backing_dev_info); Reviewed-by: Chunwei Chen <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #6089 Closes #6324 (backported from zfs upstream commit 7dae2c81e7b2e68a596c5b431444be0fae308156) Signed-off-by: Colin Ian King <[email protected]>
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/zfs_vfsops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c
index 9989e5d86..589b48d0f 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)