From: Namjae Jeon Date: Thu, 13 Dec 2012 14:44:11 +0000 (+0900) Subject: f2fs: fix up f2fs_get_parent issue to retrieve correct parent inode number X-Git-Tag: v3.8-rc3~26^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38e0abdcfb5e69aa61a1e9b474d434afc1c177a9;p=pandora-kernel.git f2fs: fix up f2fs_get_parent issue to retrieve correct parent inode number Test Case: [NFS Client] ls -lR . [NFS Server] while [ 1 ] do echo 3 > /proc/sys/vm/drop_caches done Error on NFS Client: "No such file or directory" When cache is dropped at the server, it results in lookup failure at the NFS client due to non-connection with the parent. The default path is it initiates a lookup by calculating the hash value for the name, even though the hash values stored on the disk for "." and ".." is maintained as zero, which results in failure from find_in_block due to not matching HASH values. Fix up, by using the correct hashing values for these entries. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed