diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:59:33 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:59:33 -0400 |
| commit | 60c9b2746f589b0b809582b0471cf30ad3ae439f (patch) | |
| tree | deb0169acb7f7b5b5ef721650de1e0c6f139823c /fs/xfs/xfs_trans.c | |
| parent | 4750def52cb2c21732dda9aa1d43a07db37b0186 (diff) | |
| parent | f7c66ce3f70d8417de0cfb481ca4e5430382ec5d (diff) | |
Merge git://oss.sgi.com:8090/xfs/xfs-2.6
* git://oss.sgi.com:8090/xfs/xfs-2.6:
[XFS] Add lockdep support for XFS
[XFS] Fix race in xfs_write() b/w dmapi callout and direct I/O checks.
[XFS] Get rid of redundant "required" in msg.
[XFS] Export via a function xfs_buftarg_list for use by kdb/xfsidbg.
[XFS] Remove unused ilen variable and references.
[XFS] Fix to prevent the notorious 'NULL files' problem after a crash.
[XFS] Fix race condition in xfs_write().
[XFS] Fix uquota and oquota enforcement problems.
[XFS] propogate return codes from flush routines
[XFS] Fix quotaon syscall failures for group enforcement requests.
[XFS] Invalidate quotacheck when mounting without a quota type.
[XFS] reducing the number of random number functions.
[XFS] remove more misc. unused args
[XFS] the "aendp" arg to xfs_dir2_data_freescan is always NULL, remove it.
[XFS] The last argument "lsn" of xfs_trans_commit() is always called with
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. |
