diff options
| author | Brian Behlendorf <behlendorf1@llnl.gov> | 2013-07-15 20:37:51 +0000 |
|---|---|---|
| committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2013-07-17 16:28:06 +0000 |
| commit | dba1d705669cf0e33091622d0e950b9459b20e2e (patch) | |
| tree | d2d4bc38cf534c04dc38ea1e8cc292d22fdb825d /module | |
| parent | c9ada6d5a00ba66fd54d62b4a1684e561fe2c9a4 (diff) | |
Diffstat (limited to 'module')
| -rw-r--r-- | module/zfs/zpl_super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/zfs/zpl_super.c b/module/zfs/zpl_super.c index d4d4e1b67069..eee4a50e03a5 100644 --- a/module/zfs/zpl_super.c +++ b/module/zfs/zpl_super.c @@ -240,6 +240,10 @@ zpl_kill_sb(struct super_block *sb) { zfs_preumount(sb); kill_anon_super(sb); + +#ifdef HAVE_S_INSTANCES_LIST_HEAD + sb->s_instances.next = &(zpl_fs_type.fs_supers); +#endif /* HAVE_S_INSTANCES_LIST_HEAD */ } #ifdef HAVE_SHRINK |
