git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add -unsafe-nosalvage fileserver option
[openafs.git]
/
src
/
vol
/
volume_inline.h
diff --git
a/src/vol/volume_inline.h
b/src/vol/volume_inline.h
index
e63708e
..
3049fc3
100644
(file)
--- a/
src/vol/volume_inline.h
+++ b/
src/vol/volume_inline.h
@@
-105,6
+105,9
@@
VMustCheckoutVolume(int mode)
static_inline int
VShouldCheckInUse(int mode)
{
+ if (VCanUnsafeAttach()) {
+ return 0;
+ }
if (programType == fileServer) {
return 1;
}