mtd/drivers/mtd mtdchar.c,1.69,1.70
Nicolas Pitre
nico at infradead.org
Fri Apr 1 10:36:15 EST 2005
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv10779/drivers/mtd
Modified Files:
mtdchar.c
Log Message:
reset file position when switching OTP mode
Index: mtdchar.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdchar.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- mtdchar.c 17 Mar 2005 19:56:08 -0000 1.69
+++ mtdchar.c 1 Apr 2005 15:36:11 -0000 1.70
@@ -583,6 +583,7 @@
case MTD_OTP_OFF:
break;
}
+ file->f_pos = 0;
break;
}
More information about the linux-mtd-cvs
mailing list