git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
afs: do not allow two shutdown sequences in parallel
[openafs.git]
/
src
/
afs
/
AIX
/
osi_file.c
diff --git
a/src/afs/AIX/osi_file.c
b/src/afs/AIX/osi_file.c
index
9e70da4
..
4bd3371
100644
(file)
--- a/
src/afs/AIX/osi_file.c
+++ b/
src/afs/AIX/osi_file.c
@@
-161,7
+161,7
@@
afs_osi_Read(struct osi_file *afile, int offset, void *aptr,
* down. No point in crashing when we are already shutting down
*/
if (!afile) {
- if (!afs_shuttingdown)
+ if (afs_shuttingdown == AFS_RUNNING)
osi_Panic("osi_Read called with null param");
else
return -EIO;