mtd/drivers/mtd/devices blkmtd.c,1.19,1.20
David Woodhouse
dwmw2 at infradead.org
Fri Jun 27 11:10:38 EDT 2003
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv29676
Modified Files:
blkmtd.c
Log Message:
Use Page_Uptodate() instead of the 2.5-specific PageUptodate.
Index: blkmtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- blkmtd.c 20 May 2003 21:03:07 -0000 1.19
+++ blkmtd.c 27 Jun 2003 15:10:35 -0000 1.20
@@ -143,7 +143,7 @@
for(cnt = 0; cnt < pages; cnt++) {
page = grab_cache_page(dev->binding->bd_inode->i_mapping, pagenrs[cnt]);
pagelst[cnt] = page;
- if(!PageUptodate(page)) {
+ if(!Page_Uptodate(page)) {
iobuf->blocks[iobuf->nr_pages] = pagenrs[cnt];
iobuf->maplist[iobuf->nr_pages++] = page;
}
More information about the linux-mtd-cvs
mailing list