mtd/fs/jffs2/ecos/src file-ecos.c,1.3,1.4
David Woodhouse
dwmw2 at infradead.org
Tue Jan 21 13:11:32 EST 2003
- Previous message: mtd/fs/jffs2 background.c,1.34,1.35 erase.c,1.48,1.49 file.c,1.82,1.83 fs.c,1.22,1.23 gc.c,1.97,1.98 nodelist.c,1.74,1.75 nodemgmt.c,1.90,1.91 readinode.c,1.100,1.101 super-v24.c,1.63,1.64 super.c,1.75,1.76 wbuf.c,1.23,1.24 write.c,1.64,1.65
- Next message: mtd/fs/jffs2/ecos/cdl jffs2.cdl,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/fs/jffs2/ecos/src
In directory phoenix.infradead.org:/tmp/cvs-serv734/ecos/src
Modified Files:
file-ecos.c
Log Message:
header cleanups, mode_t conversion
Index: file-ecos.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/file-ecos.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- file-ecos.c 12 Jan 2003 13:21:29 -0000 1.3
+++ file-ecos.c 21 Jan 2003 18:11:29 -0000 1.4
@@ -12,6 +12,7 @@
*/
#include <linux/kernel.h>
+#include <linux/pagemap.h>
#include "nodelist.h"
#include "crc32.h"
@@ -101,7 +102,7 @@
ri.ino = cpu_to_je32(f->inocache->ino);
ri.version = cpu_to_je32(++f->highest_version);
- ri.mode = cpu_to_je32(inode->i_mode);
+ ri.mode = cpu_to_jemode(inode->i_mode);
ri.uid = cpu_to_je16(inode->i_uid);
ri.gid = cpu_to_je16(inode->i_gid);
@@ -175,7 +176,7 @@
/* Set the fields that the generic jffs2_write_inode_range() code can't find */
ri->ino = cpu_to_je32(inode->i_ino);
- ri->mode = cpu_to_je32(inode->i_mode);
+ ri->mode = cpu_to_jemode(inode->i_mode);
ri->uid = cpu_to_je16(inode->i_uid);
ri->gid = cpu_to_je16(inode->i_gid);
ri->isize = cpu_to_je32((uint32_t)inode->i_size);
- Previous message: mtd/fs/jffs2 background.c,1.34,1.35 erase.c,1.48,1.49 file.c,1.82,1.83 fs.c,1.22,1.23 gc.c,1.97,1.98 nodelist.c,1.74,1.75 nodemgmt.c,1.90,1.91 readinode.c,1.100,1.101 super-v24.c,1.63,1.64 super.c,1.75,1.76 wbuf.c,1.23,1.24 write.c,1.64,1.65
- Next message: mtd/fs/jffs2/ecos/cdl jffs2.cdl,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list