mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
vputvnode-print-error-number-on-write-failure-20021104
make log message include error when taking volume offline
This commit is contained in:
parent
038d4a0e8e
commit
3a7d53e8bd
@ -746,9 +746,9 @@ VPutVnode_r(ec,vnp)
|
||||
PrintInode(NULL, vp->vnodeIndex[class].handle->ih_ino));
|
||||
*ec = VIO;
|
||||
} else {
|
||||
Log("VPutVnode: Couldn't write vnode %d, volume %u (%s)\n",
|
||||
Log("VPutVnode: Couldn't write vnode %d, volume %u (%s) (error %d)\n",
|
||||
vnp->vnodeNumber, V_id(vnp->volumePtr),
|
||||
V_name(vnp->volumePtr));
|
||||
V_name(vnp->volumePtr), code);
|
||||
VForceOffline_r(vp);
|
||||
*ec = VSALVAGE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user