afs: do not allow two shutdown sequences in parallel
[openafs.git] / src / afs / SOLARIS / osi_vnodeops.c
index d19bcf6..69dd985 100644 (file)
@@ -1659,7 +1659,7 @@ int
 afs_inactive(struct vcache *avc, afs_ucred_t *acred)
 {
     struct vnode *vp = AFSTOV(avc);
-    if (afs_shuttingdown)
+    if (afs_shuttingdown != AFS_RUNNING)
        return 0;
 
     /*