X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=fs%2F9p%2Fvfs_inode_dotl.c;h=e8aa57dc8d6dff5a7a46899d2ba94a4ec0b715b1;hb=0a73d0a204a4a04a1e110539c5a524ae51f91d6d;hp=09e4433717b8795c2c7c8c76452887ec27a91be4;hpb=f822dcc63f966fc79b11a8254fa0942b1aa8c71e;p=uclinux-h8%2Flinux.git diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index 09e4433717b8..e8aa57dc8d6d 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c @@ -149,8 +149,7 @@ static struct inode *v9fs_qid_iget_dotl(struct super_block *sb, unlock_new_inode(inode); return inode; error: - unlock_new_inode(inode); - iput(inode); + iget_failed(inode); return ERR_PTR(retval); }