commit | f910a8c620e21fdb53384ad741ff9e4995cc6e67 | [log] [tgz] |
---|---|---|
author | Jeff Liu <jeff.liu@oracle.com> | Mon Jan 28 21:26:34 2013 +0800 |
committer | Ben Myers <bpm@sgi.com> | Fri Feb 01 14:42:32 2013 -0600 |
tree | 402e2a42dc99b6bdac604e61c64ab7971ae19637 | |
parent | b0c10b983a3e5cc35f239999df1b8bad1ba5b8f6 [diff] |
xfs: calculate xfs_qm_write_sb_changes() space log reservation at mount time For the transaction that write the incore superblock changes of quota flags to disk, it would reserve the same log space to clear/reset quota flags transaction, hence we can use XFS_TRANS_SBCHANGE_LOG_RES() for it as well. 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>