]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c64adfa2d662ba5c299b3a72454107de4226d15
treea35460cf1a1cce94bb19249328761551c8f1b6b1
parentb05bb2e952e05b68776c6a91ef6f908b6e35469e
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