diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 08:15:29 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 16:42:27 (GMT) |
commit | 69840b0d065a031a2e5b3fcc3f30560229e312da (patch) | |
tree | 8fc5f8934a71fd5e219a64462b6b72698e25e180 | |
parent | aa7fa240c7d4ed28ee2d1afacd97be2d76e3cb49 (diff) | |
download | linux-fsl-qoriq-69840b0d065a031a2e5b3fcc3f30560229e312da.tar.xz |
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>
-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 728d3169..37725ad 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); } |