[DRBD-cvs] svn commit by lars - r2559 - trunk/drbd - fix
copy'n'paste error of r2556
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Mon Oct 23 16:27:06 CEST 2006
Author: lars
Date: 2006-10-23 16:27:06 +0200 (Mon, 23 Oct 2006)
New Revision: 2559
Modified:
trunk/drbd/drbd_req.c
Log:
fix copy'n'paste error of r2556
Modified: trunk/drbd/drbd_req.c
===================================================================
--- trunk/drbd/drbd_req.c 2006-10-23 14:23:17 UTC (rev 2558)
+++ trunk/drbd/drbd_req.c 2006-10-23 14:27:06 UTC (rev 2559)
@@ -644,7 +644,9 @@
* we won't be able to clean them up... */
const unsigned long s = req->rq_state;
INFO("%s %p %c L%c%c%cN%c%c%c%c%c %u (%llus +%u) %s\n",
- "FIXME", req, rw ? 'W' : 'R',
+ "FIXME", req,
+ /* in fact, it can only be a WRITE, but anyways */
+ bio_data_dir(req->master_bio) == WRITE ? 'W' : 'R',
s & RQ_LOCAL_PENDING ? 'p' : '-',
s & RQ_LOCAL_COMPLETED ? 'c' : '-',
s & RQ_LOCAL_OK ? 'o' : '-',
More information about the drbd-cvs
mailing list