aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 1efb303d3aaf..19d0c5f73e24 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -3312,6 +3312,13 @@ xfs_log_ticket_get(
3312 return ticket; 3312 return ticket;
3313} 3313}
3314 3314
3315xlog_tid_t
3316xfs_log_get_trans_ident(
3317 struct xfs_trans *tp)
3318{
3319 return tp->t_ticket->t_tid;
3320}
3321
3315/* 3322/*
3316 * Allocate and initialise a new log ticket. 3323 * Allocate and initialise a new log ticket.
3317 */ 3324 */