Re: [PATCH 1/5] fat: remove parent_logstart check in fat_get_parent

2012-11-05 Thread Namjae Jeon
2012/11/5, OGAWA Hirofumi : > Namjae Jeon writes: > >> +blknr = fat_clus_to_blknr(sbi, parent_logstart); >> +parent_bh = sb_bread(sb, blknr); >> +if (!parent_bh) { >> +fat_msg(sb, KERN_ERR, >> +"NFS:unable to read

Re: [PATCH 1/5] fat: remove parent_logstart check in fat_get_parent

2012-11-05 Thread OGAWA Hirofumi
Namjae Jeon writes: > + blknr = fat_clus_to_blknr(sbi, parent_logstart); > + parent_bh = sb_bread(sb, blknr); > + if (!parent_bh) { > + fat_msg(sb, KERN_ERR, > + "NFS:unable to read cluster of parent > directory"

Re: [PATCH 1/5] fat: remove parent_logstart check in fat_get_parent

2012-10-30 Thread Namjae Jeon
2012/10/31, OGAWA Hirofumi : > Namjae Jeon writes: > >> From: Namjae Jeon >> >> The root directory inode is added to the directory hash table in >> fat_attach when mounted with nfs option. Since root dentry never >> expires until umount, fat_dget never fails to return the root inode >> for subdir

Re: [PATCH 1/5] fat: remove parent_logstart check in fat_get_parent

2012-10-30 Thread OGAWA Hirofumi
Namjae Jeon writes: > From: Namjae Jeon > > The root directory inode is added to the directory hash table in > fat_attach when mounted with nfs option. Since root dentry never > expires until umount, fat_dget never fails to return the root inode > for subdirectories of root inode.i.e., parent_lo

[PATCH 1/5] fat: remove parent_logstart check in fat_get_parent

2012-10-27 Thread Namjae Jeon
From: Namjae Jeon The root directory inode is added to the directory hash table in fat_attach when mounted with nfs option. Since root dentry never expires until umount, fat_dget never fails to return the root inode for subdirectories of root inode.i.e., parent_logstart cannot be zero. Signed-of