]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fat: Refactor shortname parsing
authorSteven J. Magnani <steve@digidescorp.com>
Sat, 21 Jul 2012 00:55:09 +0000 (10:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:27 +0000 (13:53 +1000)
commit13be9b11c3f4606d859ce91c4ae954807f0171a0
treeab56c25b5e211b365b85aee8f374936f86a72b49
parent2413b8b4d85b954f881750f5601a64cc377b7f22
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>
fs/fat/dir.c