From: zoulasc Date: Fri, 21 Mar 2014 00:57:07 +0000 (-0400) Subject: Ian Kent: Handle failed umount on exit X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=6b6c35baecc5e409f8c678b6f051f27821af6df1;p=am-utils-6.2.git Ian Kent: Handle failed umount on exit --- 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.