xfs: cleanup error handling in xfs_swap_extents
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Wed, 4 Feb 2009 08:37:43 +0000 (09:37 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Wed, 4 Feb 2009 08:37:43 +0000 (09:37 +0100)
commitef8f7fc549bf345d92f396f5aa7b152b4969cbf7
treea3c2fc624b83d3fced5c95c036a8d0d20227fab8
parentd4bb6d0698090c485e2e80e8a13852be5a8bfb04
xfs: cleanup error handling in xfs_swap_extents

Use multiple lables for proper error unwinding and get rid of some now
superflous variables.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/xfs_dfrag.c