diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 09:15:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 17:42:27 +0100 |
commit | 69840b0d065a031a2e5b3fcc3f30560229e312da (patch) | |
tree | 8fc5f8934a71fd5e219a64462b6b72698e25e180 /fs/gfs2 | |
parent | iget: use iget_failed() in AFS (diff) | |
download | linux-69840b0d065a031a2e5b3fcc3f30560229e312da.tar.xz 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')
-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); } |