git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: make the log ticket ID available outside the log infrastructure
[safe/jmp/linux-2.6]
/
fs
/
xfs
/
xfs_log.c
diff --git
a/fs/xfs/xfs_log.c
b/fs/xfs/xfs_log.c
index
1efb303
..
19d0c5f
100644
(file)
--- a/
fs/xfs/xfs_log.c
+++ b/
fs/xfs/xfs_log.c
@@
-3312,6
+3312,13
@@
xfs_log_ticket_get(
return ticket;
}
+xlog_tid_t
+xfs_log_get_trans_ident(
+ struct xfs_trans *tp)
+{
+ return tp->t_ticket->t_tid;
+}
+
/*
* Allocate and initialise a new log ticket.
*/