]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat (exportfs): rebuild directory-inode if fat_dget() fails
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 25 Oct 2012 01:15:14 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 29 Oct 2012 03:21:11 +0000 (14:21 +1100)
commit360d130f76d690c0a28ef5cc3fea225d4147e719
tree25641c9206118974e542122102dbad4ffd29e4c2
parentb859ea17dfbd7ff8c9c1085fe0a3b26f218fe048
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