xfs: introduce XFS_SB_LOG_RES() for transactions that modify sb on disk
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 Jan 2013 13:27:25 +0000 (21:27 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:46:35 +0000 (14:46 -0600)
commita7bd794a0f489a66ad595f2bcab0eac8f232e409
tree70157837040a6839f2371955925952e994c4c2d1
parent762d7ba657ed4a0934b4da7dcef058012f252e0f
xfs: introduce XFS_SB_LOG_RES() for transactions that modify sb on disk

Introduce a new transaction space reservation XFS_SB_LOG_RES() for
those transactions that need to modify the superblock on disk.

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_trans.c
fs/xfs/xfs_trans.h