JFFS2: Return an error for long filenames
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 18 Apr 2006 01:05:46 +0000 (02:05 +0100)
committerRichard Purdie <richard@tim.rpsys.net>
Tue, 18 Apr 2006 01:05:46 +0000 (02:05 +0100)
commit373d5e71833978fe3d91264d86857762bb92cfe2
tree0c56caf25b684d7022ba023bcbdf8f963548d6e1
parent6e62e8c2c7b1e3387d73ecb3f7539314b7a9931e
JFFS2: Return an error for long filenames

Return an error if a name is too long for JFFS2 rather than
corrupting data.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
fs/jffs2/dir.c