]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] fix error handling in xlog_recover_process_one_iunlink
authorChristoph Hellwig <hch@lst.de>
Fri, 28 Nov 2008 03:23:42 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:38:22 +0000 (11:38 +1100)
commit0e446673a15a4e9c336b67c1a638eb12c21d0993
tree3da13a58ef93add05e33ef14fba73ed03dd58e01
parent24f211bad09a31f19dda0c3faffe0244f4f235f5
[XFS] fix error handling in xlog_recover_process_one_iunlink

If we fail after xfs_iget we have to drop the reference count, spotted
by Dave Chinner.  Also remove some useless asserts and stop trying to
deal with di_mode == 0 inodes because never gets those without passing
the IGET_CREATE flag to xfs_iget.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/xfs_log_recover.c