/* Imported variables */
-extern int afs_shuttingdown;
+extern enum afs_shutdown_state afs_shuttingdown;
/* Exported variables */
afs_uint32 pag_epoch;
AFS_STATCNT(afs_InitReq);
memset(av, 0, sizeof(*av));
- if (afs_shuttingdown)
+ if (afs_shuttingdown == AFS_SHUTDOWN)
return EIO;
#ifdef AFS_LINUX26_ENV
int code;
struct vrequest *treq = NULL;
- if (afs_shuttingdown) {
+ if (afs_shuttingdown == AFS_SHUTDOWN) {
return EIO;
}
if (!avpp || !acred) {