[JFFS2] Fix buffer length calculations in jffs2_get_inode_nodes()
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 30 May 2007 09:08:14 +0000 (12:08 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 1 Jun 2007 12:20:29 +0000 (13:20 +0100)
commitea55d30798ac206c9f584ac264b6b8eb093d237a
tree4de974f44ddcc4d8615b3e761c62924b6b29af9a
parent2ad8ee713566671875216ebcec64f2eda47bd19d
[JFFS2] Fix buffer length calculations in jffs2_get_inode_nodes()

If we have already read enough bytes, no need to call read_more().

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/readinode.c