Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6: fat: make sure to set d_ops in fat_get_parent fat: fix duplicate addition of ->llseek handler fat: drop negative dentry on rename() path
This commit is contained in:
@@ -749,6 +749,8 @@ static struct dentry *fat_get_parent(struct dentry *child)
|
||||
brelse(bh);
|
||||
|
||||
parent = d_obtain_alias(inode);
|
||||
if (!IS_ERR(parent))
|
||||
parent->d_op = sb->s_root->d_op;
|
||||
out:
|
||||
unlock_super(sb);
|
||||
|
||||
|
Reference in New Issue
Block a user