diff options
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. |
