diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-05-07 23:48:42 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-05-07 23:48:42 -0400 |
commit | 1c72bf90037f32fc2b10e0a05dff2640abce8ee2 (patch) | |
tree | 3903e287eed6b6e942340d01bec360edebff594e /fs/xfs/xfs_trans.c | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) |
[XFS] The last argument "lsn" of xfs_trans_commit() is always called with
NULL.
Patch provided by Eric Sandeen.
SGI-PV: 961693
SGI-Modid: xfs-linux-melb:xfs-kern:28199a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 301ff9445b6f..cc2d60951e21 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -753,7 +753,6 @@ int | |||
753 | _xfs_trans_commit( | 753 | _xfs_trans_commit( |
754 | xfs_trans_t *tp, | 754 | xfs_trans_t *tp, |
755 | uint flags, | 755 | uint flags, |
756 | xfs_lsn_t *commit_lsn_p, | ||
757 | int *log_flushed) | 756 | int *log_flushed) |
758 | { | 757 | { |
759 | xfs_log_iovec_t *log_vector; | 758 | xfs_log_iovec_t *log_vector; |
@@ -812,8 +811,6 @@ shut_us_down: | |||
812 | xfs_trans_free_busy(tp); | 811 | xfs_trans_free_busy(tp); |
813 | xfs_trans_free(tp); | 812 | xfs_trans_free(tp); |
814 | XFS_STATS_INC(xs_trans_empty); | 813 | XFS_STATS_INC(xs_trans_empty); |
815 | if (commit_lsn_p) | ||
816 | *commit_lsn_p = commit_lsn; | ||
817 | return (shutdown); | 814 | return (shutdown); |
818 | } | 815 | } |
819 | ASSERT(tp->t_ticket != NULL); | 816 | ASSERT(tp->t_ticket != NULL); |
@@ -864,9 +861,6 @@ shut_us_down: | |||
864 | kmem_free(log_vector, nvec * sizeof(xfs_log_iovec_t)); | 861 | kmem_free(log_vector, nvec * sizeof(xfs_log_iovec_t)); |
865 | } | 862 | } |
866 | 863 | ||
867 | if (commit_lsn_p) | ||
868 | *commit_lsn_p = commit_lsn; | ||
869 | |||
870 | /* | 864 | /* |
871 | * If we got a log write error. Unpin the logitems that we | 865 | * If we got a log write error. Unpin the logitems that we |
872 | * had pinned, clean up, free trans structure, and return error. | 866 | * had pinned, clean up, free trans structure, and return error. |