Namjae Jeon d533df07c2 fat: fix bug in enforcing Long File Name length
Since '*outlen' is initialized to zero, it is currently possible to
create a filename of length (FAT_LFN_LEN + 1) when utf8 is not enabled.
To enforce the FAT_LFN_LEN limit, we must perform one less iteration.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Ravishankar N <cyberax82@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-23 16:58:40 -07:00
..
2012-03-21 13:54:22 -07:00
2012-03-21 10:15:51 -07:00
2012-03-21 10:15:51 -07:00
2012-03-23 08:53:47 -07:00
2012-03-23 08:53:47 -07:00
2012-03-23 09:24:07 -07:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-03-23 09:27:40 -07:00
2012-01-03 22:55:11 -05:00
2012-01-03 22:54:54 -05:00
2012-03-20 21:29:46 -04:00
2012-03-20 21:29:46 -04:00
2012-02-08 22:07:18 +01:00
2012-01-03 22:54:07 -05:00
2012-01-03 22:52:39 -05:00
2012-03-20 21:29:51 -04:00
2012-01-05 15:40:12 -08:00
2012-03-20 21:29:38 -04:00
2011-10-31 17:30:44 -07:00
2011-11-02 12:53:43 +01:00
2012-03-20 21:29:41 -04:00
2012-01-03 22:53:07 -05:00
2012-01-03 22:54:07 -05:00
2012-01-03 22:52:40 -05:00