Add -unsafe-nosalvage fileserver option
[openafs.git] / src / vol / volume_inline.h
index e63708e..3049fc3 100644 (file)
@@ -105,6 +105,9 @@ VMustCheckoutVolume(int mode)
 static_inline int
 VShouldCheckInUse(int mode)
 {
+    if (VCanUnsafeAttach()) {
+       return 0;
+    }
     if (programType == fileServer) {
        return 1;
     }