[pnfs] [PATCH 07/23] 2.6-latest pnfs client unmount pnfs

andros at umich.edu andros at umich.edu
Thu Dec 13 15:51:33 EST 2007


From: Andy Adamson <andros at umich.edu>

Signed off by: Fred Isaman<iisaman at umich.edu>
---
 fs/nfs/super.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 11175bd..0f61545 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1801,6 +1801,9 @@ static void nfs4_kill_super(struct super_block *sb)
 	kill_anon_super(sb);
 
 #if defined (CONFIG_NFS_V4_1)
+#ifdef CONFIG_PNFS
+	unmount_pnfs_layoutdriver(sb);
+#endif
 	switch (server->nfs_client->cl_minorversion) {
 	case 1:
 		if (server->session) {
-- 
1.5.0.2



More information about the pNFS mailing list