[JFFS2] Introduce jffs2_link_node_ref() function to reduce code duplication
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 18:45:26 +0000 (19:45 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 18:45:26 +0000 (19:45 +0100)
The same sequence of code was repeated in many places, to add a new
struct jffs2_raw_node_ref to an eraseblock and adjust the space accounting
accordingly. Move it out-of-line.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/erase.c
fs/jffs2/nodelist.c
fs/jffs2/nodelist.h
fs/jffs2/nodemgmt.c
fs/jffs2/scan.c
fs/jffs2/summary.c

Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/jffs2/scan.c
Simple merge
Simple merge