xfs: cleanup log reservation calculactions
authorChristoph Hellwig <hch@infradead.org>
Tue, 4 May 2010 13:53:48 +0000 (13:53 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 28 May 2010 19:58:30 +0000 (14:58 -0500)
commit025101dca4480eff9da948405e872d5115030850
treea35460cf1a1cce94bb19249328761551c8f1b6b1
parent32891b292d6262d1db8e553cf3f4b38a91247b5a
xfs: cleanup log reservation calculactions

Instead of having small helper functions calling big macros do the
calculations for the log reservations directly in the functions.
These are mostly 1:1 from the macros execept that the macros kept
the quota calculations in their callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h