[JFFS2] Check for creation of dirents with embedded zero bytes in name.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:33:50 +0000 (11:33 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:33:50 +0000 (11:33 +0100)
commit69ca4378aa376cf2c49657d4f6951da56c27cd3a
treee1d8c8eb423f8a88be02f949ef88539c1f1bd8eb
parenta8c68f32644fc8942b25af9239967dd01be621fa
[JFFS2] Check for creation of dirents with embedded zero bytes in name.

I have no idea how this happened, but OLPC trac #4184 suggests that it
did. Catch it early.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/write.c