diff options
-rw-r--r-- | fs/9p/vfs_inode_dotl.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index fbe957268f05..265f5834498a 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c | |||
@@ -636,13 +636,8 @@ v9fs_vfs_link_dotl(struct dentry *old_dentry, struct inode *dir, | |||
636 | v9fs_stat2inode_dotl(st, old_dentry->d_inode); | 636 | v9fs_stat2inode_dotl(st, old_dentry->d_inode); |
637 | 637 | ||
638 | kfree(st); | 638 | kfree(st); |
639 | } else { | ||
640 | /* Caching disabled. No need to get upto date stat info. | ||
641 | * This dentry will be released immediately. So, just hold the | ||
642 | * inode | ||
643 | */ | ||
644 | ihold(old_dentry->d_inode); | ||
645 | } | 639 | } |
640 | ihold(old_dentry->d_inode); | ||
646 | d_instantiate(dentry, old_dentry->d_inode); | 641 | d_instantiate(dentry, old_dentry->d_inode); |
647 | 642 | ||
648 | return err; | 643 | return err; |