summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-03-25 18:18:22 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-27 08:32:53 -0700
commit70e42f2d4797d4d3f09bc0f6df57e8b8c5597e27 (patch)
treec473f9b76f7f7a681f6af82c2922fe24f20a0b25 /fs/xfs/xfs_log.c
parentdd401770b0ff68f896002649c593bbb9560f916d (diff)
downloadlwn-70e42f2d4797d4d3f09bc0f6df57e8b8c5597e27.tar.gz
lwn-70e42f2d4797d4d3f09bc0f6df57e8b8c5597e27.zip
xfs: kill XLOG_TIC_INITED
It is not longer used or checked by anything, so remove the last traces from the log ticket code. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 910bcff6b50a..3ccc3ca3c701 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -2352,9 +2352,6 @@ xlog_write(
* to account for an extra xlog_op_header here.
*/
ticket->t_curr_res -= sizeof(struct xlog_op_header);
- if (ticket->t_flags & XLOG_TIC_INITED)
- ticket->t_flags &= ~XLOG_TIC_INITED;
-
if (ticket->t_curr_res < 0) {
xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES,
"ctx ticket reservation ran out. Need to up reservation");
@@ -3493,7 +3490,6 @@ xlog_ticket_alloc(
tic->t_ocnt = cnt;
tic->t_tid = prandom_u32();
tic->t_clientid = client;
- tic->t_flags = XLOG_TIC_INITED;
if (permanent)
tic->t_flags |= XLOG_TIC_PERM_RESERV;