From: David Howells Date: Thu, 7 Feb 2008 08:15:29 +0000 (-0800) Subject: iget: use iget_failed() in GFS2 X-Git-Tag: v2.6.25-rc1~384 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69840b0d065a031a2e5b3fcc3f30560229e312da;p=linux-2.6 iget: use iget_failed() in GFS2 Use iget_failed() in GFS2 to kill a failed inode. Signed-off-by: David Howells Cc: Steven Whitehouse Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 728d3169e7..37725ade3c 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@ -240,7 +240,7 @@ fail_put: ip->i_gl->gl_object = NULL; gfs2_glock_put(ip->i_gl); fail: - iput(inode); + iget_failed(inode); return ERR_PTR(error); }