diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 00:15:29 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:27 -0800 |
commit | 69840b0d065a031a2e5b3fcc3f30560229e312da (patch) | |
tree | 8fc5f8934a71fd5e219a64462b6b72698e25e180 /fs/gfs2/inode.c | |
parent | aa7fa240c7d4ed28ee2d1afacd97be2d76e3cb49 (diff) | |
download | linux-69840b0d065a031a2e5b3fcc3f30560229e312da.tar.gz linux-69840b0d065a031a2e5b3fcc3f30560229e312da.tar.bz2 linux-69840b0d065a031a2e5b3fcc3f30560229e312da.zip |
iget: use iget_failed() in GFS2
Use iget_failed() in GFS2 to kill a failed inode.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 728d3169e7bd..37725ade3c51 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); } |