diff options
| -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 bdd8fb7be2c..37a8af159a1 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
| @@ -749,6 +749,8 @@ static struct dentry *fat_get_parent(struct dentry *child) | |||
| 749 | brelse(bh); | 749 | brelse(bh); |
| 750 | 750 | ||
| 751 | parent = d_obtain_alias(inode); | 751 | parent = d_obtain_alias(inode); |
| 752 | if (!IS_ERR(parent)) | ||
| 753 | parent->d_op = sb->s_root->d_op; | ||
| 752 | out: | 754 | out: |
| 753 | unlock_super(sb); | 755 | unlock_super(sb); |
| 754 | 756 | ||
