diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2012-03-09 02:27:49 (GMT) |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2012-03-10 03:01:02 (GMT) |
commit | 2158d3fd2769546cd9004eaeb776fee946155238 (patch) | |
tree | fbaa85fc0635c7a968b969ac1795cf2e79ddbcfa /arch/ia64/hp/sim | |
parent | 47f4396e516639eb8cbd660e1c1c356b5a80aa25 (diff) | |
download | linux-2158d3fd2769546cd9004eaeb776fee946155238.tar.xz |
Squashfs: fix f_pos check in get_dir_index_using_offset
One off error in the f_pos check. If f_pos is 3 or less don't
bother reading the index because we're at the start of the
directory, and we obviously already know where that is on disk.
This eliminates an unnecessary read.
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'arch/ia64/hp/sim')
0 files changed, 0 insertions, 0 deletions