From 1c0f071de62b1e4b88ba0cfd9d443d251860efd7 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 26 Sep 2006 03:13:17 +0000 Subject: [PATCH] STABLE14-copyonwrite-dont-assert-20060925 take it offline, don't assert. (cherry picked from commit c1d3a69976d7a6583a00176ff81dd66acb2cc07b) --- src/viced/afsfileprocs.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index 0fda3353f..f369cb5d6 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -1213,11 +1213,7 @@ CopyOnWrite(Vnode * targetptr, Volume * volptr) ("CopyOnWrite failed: volume %u in partition %s (tried reading %u, read %u, wrote %u, errno %u) volume needs salvage\n", V_id(volptr), volptr->partition->name, length, rdlen, wrlen, errno)); -#ifdef FAST_RESTART /* if running in no-salvage, don't core the server */ ViceLog(0, ("CopyOnWrite failed: taking volume offline\n")); -#else /* Avoid further corruption and try to get a core. */ - assert(0); -#endif /* Decrement this inode so salvager doesn't find it. */ FDH_REALLYCLOSE(newFdP); IH_RELEASE(newH); -- 2.39.5