From: Phillip Lougher Date: Fri, 9 Mar 2012 02:27:49 +0000 (+0000) Subject: Squashfs: fix f_pos check in get_dir_index_using_offset X-Git-Tag: v3.4-rc1~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2158d3fd2769546cd9004eaeb776fee946155238;p=pandora-kernel.git 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 --- Reading git-diff-tree failed