aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2013-04-29 16:21:14 -0700
committerLinus Torvalds <[email protected]>2013-04-29 18:28:41 -0700
commitf1e6fb0ab451dae8523fbb8c119a653b2730e938 (patch)
treebf966c2863b2523081fb69f619b7910efd28dc6f /lib/mpi/mpi-bit.c
parent8fceb4e0171f6bf64db756c65b2ce5f15aed8b4d (diff)
fat (exportfs): rebuild directory-inode if fat_dget()
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. The traversal is done by fat_scan_logstart() which is similar to fat_scan() but matches i_pos values instead of names.fat_scan_logstart() needs an inode parameter to work, for which a dummy inode is created by it's caller fat_rebuild_parent(). This dummy inode is destroyed after the traversal completes. All this is done only if the nostale_ro nfs mount option is specified. Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Ravishankar N <[email protected]> Signed-off-by: Amit Sahrawat <[email protected]> Acked-by: OGAWA Hirofumi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions