From 0e3f3be8194bbe10a6659e15ddf039241da13a93 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 12 Nov 2008 07:48:01 +0900 Subject: [PATCH] --- yaml --- r: 124966 b: refs/heads/master c: 5a6bb10393eb9a1985e97af12f0cb2906bcbf1af h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/fat/inode.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 019958621f47..ec482d622df1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 985eafcc5480b0d98419b96869f2560abb2764c7 +refs/heads/master: 5a6bb10393eb9a1985e97af12f0cb2906bcbf1af diff --git a/trunk/fs/fat/inode.c b/trunk/fs/fat/inode.c index bdd8fb7be2ca..37a8af159a13 100644 --- a/trunk/fs/fat/inode.c +++ b/trunk/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);