xfs: clean up error handling in xfs_trans_dqresv
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Jan 2010 22:05:49 +0000 (22:05 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 21 Jan 2010 19:44:22 +0000 (13:44 -0600)
commit4d1f88d75b00c4d23f4c51305ab5b779a86ef74e
tree9a0aa476c2c285a1557218a14f32f41cd1013f85
parent512dd1abd9539a474f2792eeaf6783c59ad7778a
xfs: clean up error handling in xfs_trans_dqresv

Move the error code selection after the goto label and fold the
xfs_quota_error helper into it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/quota/xfs_trans_dquot.c