Re: [PATCH 2/5] xfs: remove the unused XLOG_UNMOUNT_REC_TYPE define

Darrick J. Wong
2020-03-12T23:45:21Z

On Thu, Mar 12, 2020 at 03:39:56PM +0100, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
> fs/xfs/xfs_log_priv.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h
> index e400170ff4af..2b0aec37e73e 100644
> --- a/fs/xfs/xfs_log_priv.h
> +++ b/fs/xfs/xfs_log_priv.h
> @@ -525,12 +525,6 @@ xlog_cil_force(struct xlog *log)
> xlog_cil_force_lsn(log, log->l_cilp->xc_current_sequence);
> }
>
> -/*
> - * Unmount record type is used as a pseudo transaction type for the ticket.
> - * It's value must be outside the range of XFS_TRANS_* values.
> - */
> -#define XLOG_UNMOUNT_REC_TYPE (-1U)
> -
> /*
> * Wrapper function for waiting on a wait queue serialised against wakeups
> * by a spinlock. This matches the semantics of all the wait queues used in the
> --
> 2.24.1
>