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.h | |
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.h')
-rw-r--r-- | fs/xfs/xfs_trans.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h index f1d7ab236726..7dfcc450366f 100644 --- a/fs/xfs/xfs_trans.h +++ b/fs/xfs/xfs_trans.h | |||
@@ -988,10 +988,8 @@ void xfs_trans_log_efd_extent(xfs_trans_t *, | |||
988 | xfs_extlen_t); | 988 | xfs_extlen_t); |
989 | int _xfs_trans_commit(xfs_trans_t *, | 989 | int _xfs_trans_commit(xfs_trans_t *, |
990 | uint flags, | 990 | uint flags, |
991 | xfs_lsn_t *, | ||
992 | int *); | 991 | int *); |
993 | #define xfs_trans_commit(tp, flags, lsn) \ | 992 | #define xfs_trans_commit(tp, flags) _xfs_trans_commit(tp, flags, NULL) |
994 | _xfs_trans_commit(tp, flags, lsn, NULL) | ||
995 | void xfs_trans_cancel(xfs_trans_t *, int); | 993 | void xfs_trans_cancel(xfs_trans_t *, int); |
996 | void xfs_trans_ail_init(struct xfs_mount *); | 994 | void xfs_trans_ail_init(struct xfs_mount *); |
997 | xfs_lsn_t xfs_trans_push_ail(struct xfs_mount *, xfs_lsn_t); | 995 | xfs_lsn_t xfs_trans_push_ail(struct xfs_mount *, xfs_lsn_t); |