git.openpandora.org
/
pandora-kernel.git
/ 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
[pandora-kernel.git]
/
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.
*/