mtd/include/linux jffs2_fs_i.h,1.17,1.18
Artem Bityuckiy
dedekind at infradead.org
Sun Jul 17 07:13:51 EDT 2005
- Previous message: mtd/fs/jffs2 dir.c, 1.86, 1.87 os-linux.h, 1.58, 1.59 readinode.c,
1.126, 1.127 symlink-v24.c, 1.17, 1.18 symlink.c, 1.16, 1.17
- Next message: mtd/fs/jffs2 build.c,1.72,1.73 debug.c,1.1,1.2 debug.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv21973/include/linux
Modified Files:
jffs2_fs_i.h
Log Message:
[JFFS2] Don't use f->dents for symlink target
JFFS2 uses f->dents to store the pointer to the symlink target string (in case
the inode is symlink). This is somewhat ugly to use the same field for
different reasons. Introduce distinct field f->target for this purpose.
Note, f->fragtree, f->dents, f->target may probably be put in a union.
Index: jffs2_fs_i.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_i.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- jffs2_fs_i.h 11 Nov 2004 23:51:27 -0000 1.17
+++ jffs2_fs_i.h 17 Jul 2005 11:13:48 -0000 1.18
@@ -32,6 +32,9 @@
/* Directory entries */
struct jffs2_full_dirent *dents;
+ /* The target path if this is the inode of a symlink */
+ unsigned char *target;
+
/* Some stuff we just have to keep in-core at all times, for each inode. */
struct jffs2_inode_cache *inocache;
- Previous message: mtd/fs/jffs2 dir.c, 1.86, 1.87 os-linux.h, 1.58, 1.59 readinode.c,
1.126, 1.127 symlink-v24.c, 1.17, 1.18 symlink.c, 1.16, 1.17
- Next message: mtd/fs/jffs2 build.c,1.72,1.73 debug.c,1.1,1.2 debug.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list