xfs: make use of xfs_calc_buf_res() in xfs_trans.c
authorJeff Liu <jeff.liu@oracle.com>
Fri, 1 Feb 2013 20:39:29 +0000 (14:39 -0600)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:39:29 +0000 (14:39 -0600)
commit5b292ae3a951a58e32119d73c7ac8f5bec7395a3
treed9ccedba0156706911be0c364019c6d26e1977c8
parent4f3b57832ba39223c6f8823d07b9fb206e282ced
xfs: make use of xfs_calc_buf_res() in xfs_trans.c

Refining the existing reservations with xfs_calc_buf_res() in xfs_trans.c

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_trans.c