xfs: calculate XFS_TRANS_QM_QUOTAOFF_END space log reservation at mount time
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 Jan 2013 13:27:21 +0000 (21:27 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:45:50 +0000 (14:45 -0600)
commit762d7ba657ed4a0934b4da7dcef058012f252e0f
tree631ac6adc3f028ea55339889ad870206c3ccef23
parenta1bd9557544d59140c4ac87fe405069b9e1aaf99
xfs: calculate XFS_TRANS_QM_QUOTAOFF_END space log reservation at mount time

Convert the calculation for end of quotaoff log space reservation
from runtime to mount time.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
CC: Dave Chinner <david@fromorbit.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.h
fs/xfs/xfs_qm_syscalls.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h