]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d95fa19f5b1d5bab57f5904558c7aa6988b9843
tree38f7f1f7e3cadf8a7f1964bacee576b6008b415c
parent019b81deef60fa62625bca121ebcb6fe9a0dc7a3
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