Steven Whitehouse 24d9765fc1 GFS2: Fix error path in gfs2_lookup_by_inum()
In the (impossible, except if there is fs corruption) error path
in gfs2_lookup_by_inum() if the call to gfs2_inode_refresh()
fails, it was leaving the function by calling iput() rather
than iget_failed(). This would cause future lookups of the same
inode to block forever.

This patch fixes the problem by moving the call to gfs2_inode_refresh()
into gfs2_inode_lookup() where iget_failed() is part of the error path
already. Also this cleans up some unreachable code and makes
gfs2_set_iop() static.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2011-01-18 14:49:08 +00:00
..
2010-10-25 21:18:20 -04:00
2010-09-20 11:18:16 +01:00
2010-09-20 11:21:09 +01:00
2010-09-20 11:21:09 +01:00
2011-01-12 20:02:46 -05:00
2011-01-17 02:25:31 -05:00
2008-06-27 09:39:44 +01:00
2011-01-10 08:51:44 -08:00
2010-09-20 11:18:46 +01:00
2010-05-21 16:11:36 +01:00
2010-05-05 09:39:18 +01:00
2008-03-31 10:39:54 +01:00
2009-08-26 18:51:04 +01:00
2010-09-29 14:20:52 +01:00
2010-05-21 18:31:20 -04:00
2009-01-05 07:39:13 +00:00
2010-05-05 09:39:18 +01:00
2010-03-01 14:07:37 +00:00
2010-11-30 10:30:19 +00:00
2009-12-16 12:16:49 -05:00