]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fat (exportfs): rebuild directory-inode if fat_dget() fails
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 12 Oct 2012 04:23:03 +0000 (15:23 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 22 Oct 2012 04:01:11 +0000 (15:01 +1100)
commit0c64146903f20b03b1c2d63b2ecf94d9e449e360
tree7cef721b66485fbe9c050b76fb429ef987ce0cda
parent6765cd76bfdfc62b3dd8b04327ee47c917b145e0
fat (exportfs): rebuild directory-inode if fat_dget() fails

This patch enables rebuilding of directory inodes which are not present in
the cache.This is done by traversing the disk clusters to find the
directory entry of the parent directory and using its i_pos to build the
inode.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ravishankar N <ravi.n1@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fat/nfs.c