[pnfs] [PATCH 06/14] 2.6-latest pnfs client unmount pnfs

andros at umich.edu andros at umich.edu
Mon Nov 12 14:29:18 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 adf9947..479f120 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1794,6 +1794,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