nfs41: create NFSv3 DS connection if specified
authorPeng Tao <tao.peng@primarydata.com>
Fri, 30 May 2014 10:15:59 +0000 (18:15 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:35 +0000 (11:06 -0800)
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
fs/nfs/nfs4super.c
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c

index 6f340f0..48cea3c 100644 (file)
@@ -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();
diff --cc fs/nfs/pnfs.h
Simple merge
Simple merge