diff options
author | Christoph Hellwig <hch@lst.de> | 2018-03-13 23:15:28 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-14 11:12:52 -0700 |
commit | 60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e (patch) | |
tree | ba0e950311de02c6d6585a9941c3f7a8ba1f22e2 /fs/xfs/xfs_log.h | |
parent | 2b56c2857fde3c7f74174dd2fe3d7b8833d82744 (diff) | |
download | linux-60e5bb7844ec75a2f54ea76d8ceec5c79172ce7e.tar.bz2 |
xfs: merge _xfs_log_force and xfs_log_force
Switch to a single interface for flushing the whole log, which gives
consistent trace point coverage, and removes the unused log_flushed
argument for the previous _xfs_log_force callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
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.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index bf212772595c..726dd9a330b4 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h @@ -129,11 +129,7 @@ xfs_lsn_t xfs_log_done(struct xfs_mount *mp, struct xlog_ticket *ticket, struct xlog_in_core **iclog, bool regrant); -int _xfs_log_force(struct xfs_mount *mp, - uint flags, - int *log_forced); -void xfs_log_force(struct xfs_mount *mp, - uint flags); +int xfs_log_force(struct xfs_mount *mp, uint flags); int _xfs_log_force_lsn(struct xfs_mount *mp, xfs_lsn_t lsn, uint flags, |