mtd/drivers/mtd/devices block2mtd.c,1.24,1.25
joern at infradead.org
joern at infradead.org
Mon Mar 7 15:29:09 EST 2005
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/home/joern/mtd/drivers/mtd/devices
Modified Files:
block2mtd.c
Log Message:
o Remove Gareth from the Copyrights (at his own request)
o Fix the "fscking embarrassment"
Index: block2mtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/block2mtd.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- block2mtd.c 8 Jan 2005 21:04:58 -0000 1.24
+++ block2mtd.c 7 Mar 2005 20:29:05 -0000 1.25
@@ -4,7 +4,6 @@
* block2mtd.c - create an mtd from a block device
*
* Copyright (C) 2001,2002 Simon Evans <spse at secret.org.uk>
- * Copyright (C) 2004 Gareth Bult <Gareth at Encryptec.net>
* Copyright (C) 2004,2005 Jörn Engel <joern at wh.fh-wedel.de>
*
* Licence: GPL
@@ -156,7 +155,7 @@
struct block2mtd_dev *dev = mtd->priv;
struct page *page;
int index = from >> PAGE_SHIFT;
- int offset = from & (PAGE_SHIFT-1);
+ int offset = from & (PAGE_SIZE-1);
int cpylen;
if (from > mtd->size)
More information about the linux-mtd-cvs
mailing list