fat: refactor shortname parsing
authorSteven J. Magnani <steve@digidescorp.com>
Mon, 30 Jul 2012 21:42:16 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:20 +0000 (17:25 -0700)
commitdeb8274a0cf44827ec260330cc1d94d0f3dcfb94
tree38f7f1f7e3cadf8a7f1964bacee576b6008b415c
parenta943ed71c9171fb5e3b256e8022bbedff95cc826
fat: refactor shortname parsing

Nearly identical shortname parsing is performed in fat_search_long() and
__fat_readdir().  Extract this code into a function that may be called by
both.

Signed-off-by: Steven J. Magnani <steve@digidescorp.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>
fs/fat/dir.c