summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans.c
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2005-09-02 16:42:05 +1000
committerNathan Scott <nathans@sgi.com>2005-09-02 16:42:05 +1000
commit7e9c63961558092d584936a874cf3fee80002eb6 (patch)
treeea1387a8bb0ca34f8690232bb4bddf99e3a8bf6c /fs/xfs/xfs_trans.c
parent32fb9b57aef35b82434cfb4c9de18b484fc3ec88 (diff)
downloadop-kernel-dev-7e9c63961558092d584936a874cf3fee80002eb6.zip
op-kernel-dev-7e9c63961558092d584936a874cf3fee80002eb6.tar.gz
[XFS] 929956 add log debugging and tracing info
SGI-PV: 931456 SGI-Modid: xfs-linux:xfs-kern:23155a Signed-off-by: Tim Shimmin <tes@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r--fs/xfs/xfs_trans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c
index 06dfca5..92efe27 100644
--- a/fs/xfs/xfs_trans.c
+++ b/fs/xfs/xfs_trans.c
@@ -276,7 +276,7 @@ xfs_trans_reserve(
error = xfs_log_reserve(tp->t_mountp, logspace, logcount,
&tp->t_ticket,
- XFS_TRANSACTION, log_flags);
+ XFS_TRANSACTION, log_flags, tp->t_type);
if (error) {
goto undo_blocks;
}
@@ -1032,6 +1032,7 @@ xfs_trans_fill_vecs(
tp->t_header.th_num_items = nitems;
log_vector->i_addr = (xfs_caddr_t)&tp->t_header;
log_vector->i_len = sizeof(xfs_trans_header_t);
+ XLOG_VEC_SET_TYPE(log_vector, XLOG_REG_TYPE_TRANSHDR);
}
OpenPOWER on IntegriCloud