summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4super.c
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-05-30 18:15:59 +0800
committerTom Haynes <loghyr@primarydata.com>2015-02-03 11:06:35 -0800
commit5f01d9539496577b9ee62e213f4122a2a209550c (patch)
treeb6313926f5567e019c1800f9c15f2f7475ac21f3 /fs/nfs/nfs4super.c
parent30626f9c32f0ad5e2c4173f10fb4b1358bbba6ec (diff)
nfs41: create NFSv3 DS connection if specified
Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4super.c')
-rw-r--r--fs/nfs/nfs4super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c
index 6f340f02f2ba..48cea3c30e5d 100644
--- a/fs/nfs/nfs4super.c
+++ b/fs/nfs/nfs4super.c
@@ -346,6 +346,9 @@ out:
static void __exit exit_nfs_v4(void)
{
+ /* Not called in the _init(), conditionally loaded */
+ nfs4_pnfs_v3_ds_connect_unload();
+
unregister_nfs_version(&nfs_v4);
nfs4_unregister_sysctl();
nfs_idmap_quit();