From 6b6c35baecc5e409f8c678b6f051f27821af6df1 Mon Sep 17 00:00:00 2001 From: zoulasc Date: Thu, 20 Mar 2014 20:57:07 -0400 Subject: [PATCH] Ian Kent: Handle failed umount on exit --- amd/map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amd/map.c b/amd/map.c index e6d14b8c..00e42c64 100644 --- a/amd/map.c +++ b/amd/map.c @@ -750,7 +750,8 @@ umount_exported(void) } else { am_unmounted(mp); } - exported_ap[i] = NULL; + if (!(mf->mf_flags && (MFF_UNMOUNTING|MFF_MOUNTED))) + exported_ap[i] = NULL; } else { /* * Any other node gets forcibly timed out. -- 2.34.1