mtd/drivers/mtd mtd_blkdevs.c,1.13,1.14

David Woodhouse dwmw2 at infradead.org
Mon Jun 23 05:07:28 EDT 2003


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv6846

Modified Files:
	mtd_blkdevs.c 
Log Message:
Fix operator precedence in checking for REQ_CMD


Index: mtd_blkdevs.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mtd_blkdevs.c	15 Jun 2003 17:04:37 -0000	1.13
+++ mtd_blkdevs.c	23 Jun 2003 09:07:25 -0000	1.14
@@ -46,7 +46,7 @@
 	nsect = req->current_nr_sectors;
 	buf = req->buffer;
 
-	if (!req->flags & REQ_CMD)
+	if (!(req->flags & REQ_CMD))
 		return 0;
 
 	if (block + nsect > get_capacity(req->rq_disk))




More information about the linux-mtd-cvs mailing list