diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-07-25 01:46:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:34 -0700 |
commit | dcd8c53f13f068ee039589d84fbd0baf686abc41 (patch) | |
tree | 76dff1ae4a77a8756925e5dfe283051e12395a3e /include/linux/display.h | |
parent | 98a15160049fc1a0f822047f33ff513906a35567 (diff) | |
download | talos-obmc-linux-dcd8c53f13f068ee039589d84fbd0baf686abc41.tar.gz talos-obmc-linux-dcd8c53f13f068ee039589d84fbd0baf686abc41.zip |
fat: small optimization to __fat_readdir()
This removes unnecessary parsing for directory entries.
If short_only, we don't need to parse longname. And if !both and it found
the longname, we don't need 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>
Diffstat (limited to 'include/linux/display.h')
0 files changed, 0 insertions, 0 deletions