[JFFS2] Use f->target instead of f->dents for symlink target
authorArtem B. Bityutskiy <dedekind@infradead.org>
Sun, 17 Jul 2005 11:13:51 +0000 (12:13 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 15:25:55 +0000 (16:25 +0100)
commit2b79adcca147c9f8fd1094ab4cb342d7e1790d70
tree11238349e1e7861d8d4bb290719fc52269b78e65
parent730554d94607572ef8300c5c9848540b42394897
[JFFS2] Use f->target instead of 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.

Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/dir.c
fs/jffs2/os-linux.h
fs/jffs2/readinode.c
fs/jffs2/symlink.c
include/linux/jffs2_fs_i.h