diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-20 08:49:21 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-23 08:27:59 -0700 |
commit | 693639994b13ddecb780897655367a99d5b31679 (patch) | |
tree | 8d52c6daae9f37c19c6d2c19e04fa7d3b47a6bc7 /fs/xfs/xfs_message.c | |
parent | 5781464bd1ee59a14f2657e878eb6cd90809a7ba (diff) |
xfs: remove xlog_state_want_sync
Open code the xlog_state_want_sync logic in its two callers given that
this function is a trivial wrapper around xlog_state_switch_iclogs.
Move the lockdep assert into xlog_state_switch_iclogs to not lose this
debugging aid, and improve the comment that documents
xlog_state_switch_iclogs as well.
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_message.c')
0 files changed, 0 insertions, 0 deletions