Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6
[linux-2.6.git] / fs / fat / inode.c
index d937aaf77374f4b720aa85328da0779daad027ae..6b74d09adbe5fa34d425f7b2c07a8271ddcd8e14 100644 (file)
@@ -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);