From 710ac8a175e99a8e9506e050c7c8394c1411c29e Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 6 Oct 2010 18:41:12 +0000 Subject: [PATCH] --- yaml --- r: 213272 b: refs/heads/master c: dfe188d4283752086d48380cde40d9801c318667 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_trans.c | 4 ---- trunk/fs/xfs/xfs_trans.h | 2 -- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/[refs] b/[refs] index b8b71695ef90..685fd055afd1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d276734d937a649ff43fd197d0df7a747bd55b7e +refs/heads/master: dfe188d4283752086d48380cde40d9801c318667 diff --git a/trunk/fs/xfs/xfs_trans.c b/trunk/fs/xfs/xfs_trans.c index 5fab0e6bf86e..50bd4acefc00 100644 --- a/trunk/fs/xfs/xfs_trans.c +++ b/trunk/fs/xfs/xfs_trans.c @@ -1416,10 +1416,6 @@ xfs_trans_committed( { struct xfs_log_item_desc *lidp, *next; - /* Call the transaction's completion callback if there is one. */ - if (tp->t_callback != NULL) - tp->t_callback(tp, tp->t_callarg); - list_for_each_entry_safe(lidp, next, &tp->t_items, lid_trans) { xfs_trans_item_committed(lidp->lid_item, tp->t_lsn, abortflag); xfs_trans_free_item_desc(lidp); diff --git a/trunk/fs/xfs/xfs_trans.h b/trunk/fs/xfs/xfs_trans.h index e2cbe4da7d8e..246286b77a86 100644 --- a/trunk/fs/xfs/xfs_trans.h +++ b/trunk/fs/xfs/xfs_trans.h @@ -399,8 +399,6 @@ typedef struct xfs_trans { * transaction. */ struct xfs_mount *t_mountp; /* ptr to fs mount struct */ struct xfs_dquot_acct *t_dqinfo; /* acctg info for dquots */ - xfs_trans_callback_t t_callback; /* transaction callback */ - void *t_callarg; /* callback arg */ unsigned int t_flags; /* misc flags */ int64_t t_icount_delta; /* superblock icount change */ int64_t t_ifree_delta; /* superblock ifree change */