9p: Fix possible inode leak in v9fs_get_inode.
authorAbhishek Kulkarni <adkulkar@umail.iu.edu>
Sun, 19 Jul 2009 19:41:56 +0000 (13:41 -0600)
committerEric Van Hensbergen <ericvh@strongmad.austin.ibm.com>
Mon, 17 Aug 2009 21:27:57 +0000 (16:27 -0500)
commit2bb541157fe2602af7b9952096d0524f6f9c1e73
tree79ee0fbdded9918298fbd37b1b56232b9f5f81d0
parent50fb6d2bd7062708892ae7147f30c3ee905b7a3d
9p: Fix possible inode leak in v9fs_get_inode.

Add a missing iput when cleaning up if v9fs_get_inode
fails after returning a valid inode.

Signed-off-by: Abhishek Kulkarni <adkulkar@umail.iu.edu>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c