diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-01-19 04:56:45 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-21 14:44:43 -0500 |
commit | 4139b3b337cffd106744386c842b89dc86e31d4b (patch) | |
tree | 13e98549e956cabcaf88dd3218268ae643802c78 /fs/xfs/xfs_log.c | |
parent | 0cadda1c5f194f98a05d252ff4385d86d2ed0862 (diff) |
xfs: kill XLOG_VEC_SET_TYPE
This macro only obsfucates the log item type assignments, so kill it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 0d17516fbb13..20118ddadef6 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -617,7 +617,7 @@ xfs_log_unmount_write(xfs_mount_t *mp) | |||
617 | if (! (XLOG_FORCED_SHUTDOWN(log))) { | 617 | if (! (XLOG_FORCED_SHUTDOWN(log))) { |
618 | reg[0].i_addr = (void*)&magic; | 618 | reg[0].i_addr = (void*)&magic; |
619 | reg[0].i_len = sizeof(magic); | 619 | reg[0].i_len = sizeof(magic); |
620 | XLOG_VEC_SET_TYPE(®[0], XLOG_REG_TYPE_UNMOUNT); | 620 | reg[0].i_type = XLOG_REG_TYPE_UNMOUNT; |
621 | 621 | ||
622 | error = xfs_log_reserve(mp, 600, 1, &tic, | 622 | error = xfs_log_reserve(mp, 600, 1, &tic, |
623 | XFS_LOG, 0, XLOG_UNMOUNT_REC_TYPE); | 623 | XFS_LOG, 0, XLOG_UNMOUNT_REC_TYPE); |
@@ -1236,7 +1236,7 @@ xlog_commit_record(xfs_mount_t *mp, | |||
1236 | 1236 | ||
1237 | reg[0].i_addr = NULL; | 1237 | reg[0].i_addr = NULL; |
1238 | reg[0].i_len = 0; | 1238 | reg[0].i_len = 0; |
1239 | XLOG_VEC_SET_TYPE(®[0], XLOG_REG_TYPE_COMMIT); | 1239 | reg[0].i_type = XLOG_REG_TYPE_COMMIT; |
1240 | 1240 | ||
1241 | ASSERT_ALWAYS(iclog); | 1241 | ASSERT_ALWAYS(iclog); |
1242 | if ((error = xlog_write(mp, reg, 1, ticket, commitlsnp, | 1242 | if ((error = xlog_write(mp, reg, 1, ticket, commitlsnp, |