diff options
author | OGAWA Hirofumi | 2008-07-25 10:46:44 +0200 |
---|---|---|
committer | Linus Torvalds | 2008-07-25 19:53:34 +0200 |
commit | dcd8c53f13f068ee039589d84fbd0baf686abc41 (patch) | |
tree | 76dff1ae4a77a8756925e5dfe283051e12395a3e /fs/ext3/acl.c | |
parent | fat: use same logic in fat_search_long() and __fat_readdir() (diff) | |
download | kernel-qcow2-linux-dcd8c53f13f068ee039589d84fbd0baf686abc41.tar.gz kernel-qcow2-linux-dcd8c53f13f068ee039589d84fbd0baf686abc41.tar.xz kernel-qcow2-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 'fs/ext3/acl.c')
0 files changed, 0 insertions, 0 deletions