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_fsops.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_fsops.c')
-rw-r--r-- | fs/xfs/xfs_fsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index 32c37c1c47ab..b599e6be9ec1 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
@@ -346,7 +346,7 @@ xfs_growfs_data_private( | |||
346 | xfs_trans_mod_sb(tp, XFS_TRANS_SB_FDBLOCKS, nfree); | 346 | xfs_trans_mod_sb(tp, XFS_TRANS_SB_FDBLOCKS, nfree); |
347 | if (dpct) | 347 | if (dpct) |
348 | xfs_trans_mod_sb(tp, XFS_TRANS_SB_IMAXPCT, dpct); | 348 | xfs_trans_mod_sb(tp, XFS_TRANS_SB_IMAXPCT, dpct); |
349 | error = xfs_trans_commit(tp, 0, NULL); | 349 | error = xfs_trans_commit(tp, 0); |
350 | if (error) { | 350 | if (error) { |
351 | return error; | 351 | return error; |
352 | } | 352 | } |
@@ -605,7 +605,7 @@ xfs_fs_log_dummy( | |||
605 | xfs_trans_ihold(tp, ip); | 605 | xfs_trans_ihold(tp, ip); |
606 | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); | 606 | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); |
607 | xfs_trans_set_sync(tp); | 607 | xfs_trans_set_sync(tp); |
608 | xfs_trans_commit(tp, 0, NULL); | 608 | xfs_trans_commit(tp, 0); |
609 | 609 | ||
610 | xfs_iunlock(ip, XFS_ILOCK_EXCL); | 610 | xfs_iunlock(ip, XFS_ILOCK_EXCL); |
611 | } | 611 | } |