2012/9/22, OGAWA Hirofumi :
> Namjae Jeon writes:
>
>> +if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_LIMITED) {
>> +struct buffer_head *bh = NULL;
>> +struct msdos_dir_entry *de ;
>> +loff_t i_pos = (loff_t)ino;
>> +int bits = MSDOS_
Namjae Jeon writes:
> + if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_LIMITED) {
> + struct buffer_head *bh = NULL;
> + struct msdos_dir_entry *de ;
> + loff_t i_pos = (loff_t)ino;
> + int bits = MSDOS_SB(sb)->dir_per_block_bits;
> +
From: Namjae Jeon
Since the previous patch in this patch-set uses i_pos as the inode
number, we can use it to find the directory entry of the inode and
subsequently rebuild the inode if the cache lookups fail.
Since this involves accessing the FAT media,it is better to do this
only if the 'nfs'
3 matches
Mail list logo