diff options
author | Dave Chinner <dchinner@redhat.com> | 2020-03-25 18:18:24 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-27 08:32:54 -0700 |
commit | 3c702f95909ac6dfb2d3ea1b897c46fc9717d1a5 (patch) | |
tree | a277f03bf38a53ced00f0acae7a00afb6807c475 /fs/xfs/xfs_log_priv.h | |
parent | f10e925def9a6d916b291e8c1e704df5a2976f8a (diff) | |
download | linux-stable-3c702f95909ac6dfb2d3ea1b897c46fc9717d1a5.tar.gz linux-stable-3c702f95909ac6dfb2d3ea1b897c46fc9717d1a5.tar.bz2 linux-stable-3c702f95909ac6dfb2d3ea1b897c46fc9717d1a5.zip |
xfs: refactor unmount record writing
Separate out the unmount record writing from the rest of the
ticket and log state futzing necessary to make it work. This is
a no-op, just makes the code cleaner and places the unmount record
formatting and writing alongside the commit record formatting and
writing code.
We can also get rid of the ticket flag clearing before the
xlog_write() call because it no longer cares about the state of
XLOG_TIC_INITED.
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_priv.h')
0 files changed, 0 insertions, 0 deletions