diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-30 20:33:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-30 20:33:34 -0800 |
commit | ec270e59a74eee972006a87c8e12514a20588369 (patch) | |
tree | 6ec13c87f75322a2816c09bb290b6e66bf5116e4 /fs/fat/inode.c | |
parent | 6a94cb73064c952255336cc57731904174b2c58f (diff) | |
parent | 5a6bb10393eb9a1985e97af12f0cb2906bcbf1af (diff) | |
download | kernel-crypto-ec270e59a74eee972006a87c8e12514a20588369.tar.gz kernel-crypto-ec270e59a74eee972006a87c8e12514a20588369.tar.xz kernel-crypto-ec270e59a74eee972006a87c8e12514a20588369.zip |
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
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r-- | fs/fat/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index d937aaf7737..6b74d09adbe 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -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); |