]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fat: use same logic in fat_search_long() and __fat_readdir()
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Fri, 25 Jul 2008 08:46:44 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:34 +0000 (10:53 -0700)
commit98a15160049fc1a0f822047f33ff513906a35567
tree94b25054da238755d525077d21f8717bb04ac2fb
parentd688611674cc9c265ee67e89d2ea8bf060c17e8d
fat: use same logic in fat_search_long() and __fat_readdir()

This uses uses stack for shortname, and uses __getname() for longname in
fat_search_long() and __fat_readdir().  By this, it removes unneeded
__getname() for shortname.

Signed-off-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