aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-10-06 14:41:12 -0400
committerAlex Elder <aelder@sgi.com>2010-10-18 16:08:01 -0400
commitdfe188d4283752086d48380cde40d9801c318667 (patch)
treed37bd7f7dbee527882abc6cb8e6fa6bcedb19587 /fs/xfs
parentd276734d937a649ff43fd197d0df7a747bd55b7e (diff)
xfs: remove unused t_callback field in struct xfs_trans
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_trans.c4
-rw-r--r--fs/xfs/xfs_trans.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c
index 5fab0e6bf86e..50bd4acefc00 100644
--- a/fs/xfs/xfs_trans.c
+++ b/fs/xfs/xfs_trans.c
@@ -1416,10 +1416,6 @@ xfs_trans_committed(
1416{ 1416{
1417 struct xfs_log_item_desc *lidp, *next; 1417 struct xfs_log_item_desc *lidp, *next;
1418 1418
1419 /* Call the transaction's completion callback if there is one. */
1420 if (tp->t_callback != NULL)
1421 tp->t_callback(tp, tp->t_callarg);
1422
1423 list_for_each_entry_safe(lidp, next, &tp->t_items, lid_trans) { 1419 list_for_each_entry_safe(lidp, next, &tp->t_items, lid_trans) {
1424 xfs_trans_item_committed(lidp->lid_item, tp->t_lsn, abortflag); 1420 xfs_trans_item_committed(lidp->lid_item, tp->t_lsn, abortflag);
1425 xfs_trans_free_item_desc(lidp); 1421 xfs_trans_free_item_desc(lidp);
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index e2cbe4da7d8e..246286b77a86 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -399,8 +399,6 @@ typedef struct xfs_trans {
399 * transaction. */ 399 * transaction. */
400 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ 400 struct xfs_mount *t_mountp; /* ptr to fs mount struct */
401 struct xfs_dquot_acct *t_dqinfo; /* acctg info for dquots */ 401 struct xfs_dquot_acct *t_dqinfo; /* acctg info for dquots */
402 xfs_trans_callback_t t_callback; /* transaction callback */
403 void *t_callarg; /* callback arg */
404 unsigned int t_flags; /* misc flags */ 402 unsigned int t_flags; /* misc flags */
405 int64_t t_icount_delta; /* superblock icount change */ 403 int64_t t_icount_delta; /* superblock icount change */
406 int64_t t_ifree_delta; /* superblock ifree change */ 404 int64_t t_ifree_delta; /* superblock ifree change */