xfs: refactor unmount record write
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 20 Jul 2018 16:28:39 +0000 (09:28 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 23 Jul 2018 16:08:01 +0000 (09:08 -0700)
commit53235f22151ea7229e1251e46e68098bcf74922d
tree823de103256200ddee69d53071456580434e40cf
parent2e9e6481e2a78de3a85083beccfbf6eda2689922
xfs: refactor unmount record write

Refactor the writing of the unmount record into a separate helper.  No
functionality changes.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_log.c