xfs: Make writeid transaction use tr_writeid
authorJie Liu <jeff.liu@oracle.com>
Mon, 12 Aug 2013 10:49:58 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 22:46:59 +0000 (17:46 -0500)
commit783cb6d172358892d6af394ebe2876bcbfcc6499
tree49ad869686ec300ed8c939d199092c93d9dece1f
parent20996c932603b34fc82b8c8cd00f3ded83982f7b
xfs: Make writeid transaction use tr_writeid

tr_writeid is defined at mp->m_resv structure, however, it does not
really being used when it should be..

This patch changes it to tr_writeid to fetch the correct log
reservation size.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_trans_resv.h