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_rtalloc.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_rtalloc.c')
-rw-r--r-- | fs/xfs/xfs_rtalloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index 6fff19dc3cf9..b3a5f07bd073 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c | |||
@@ -150,7 +150,7 @@ xfs_growfs_rt_alloc( | |||
150 | error = xfs_bmap_finish(&tp, &flist, &committed); | 150 | error = xfs_bmap_finish(&tp, &flist, &committed); |
151 | if (error) | 151 | if (error) |
152 | goto error_exit; | 152 | goto error_exit; |
153 | xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL); | 153 | xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); |
154 | /* | 154 | /* |
155 | * Now we need to clear the allocated blocks. | 155 | * Now we need to clear the allocated blocks. |
156 | * Do this one block per transaction, to keep it simple. | 156 | * Do this one block per transaction, to keep it simple. |
@@ -187,7 +187,7 @@ xfs_growfs_rt_alloc( | |||
187 | /* | 187 | /* |
188 | * Commit the transaction. | 188 | * Commit the transaction. |
189 | */ | 189 | */ |
190 | xfs_trans_commit(tp, 0, NULL); | 190 | xfs_trans_commit(tp, 0); |
191 | } | 191 | } |
192 | /* | 192 | /* |
193 | * Go on to the next extent, if any. | 193 | * Go on to the next extent, if any. |
@@ -2042,7 +2042,7 @@ xfs_growfs_rt( | |||
2042 | /* | 2042 | /* |
2043 | * Commit the transaction. | 2043 | * Commit the transaction. |
2044 | */ | 2044 | */ |
2045 | xfs_trans_commit(tp, 0, NULL); | 2045 | xfs_trans_commit(tp, 0); |
2046 | } | 2046 | } |
2047 | 2047 | ||
2048 | if (error) | 2048 | if (error) |