summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_export.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-03-14 07:15:28 +0100
committerDarrick J. Wong2018-03-14 19:12:52 +0100
commit656de4ffaffd921e1b45de4150c86ba50da135e9 (patch)
tree28fb961b39e2acd26718987dc3ba195251b294e1 /fs/xfs/xfs_export.c
parentxfs: merge _xfs_log_force and xfs_log_force (diff)
downloadkernel-qcow2-linux-656de4ffaffd921e1b45de4150c86ba50da135e9.tar.gz
kernel-qcow2-linux-656de4ffaffd921e1b45de4150c86ba50da135e9.tar.xz
kernel-qcow2-linux-656de4ffaffd921e1b45de4150c86ba50da135e9.zip
xfs: merge _xfs_log_force_lsn and xfs_log_force_lsn
Switch to a single interface for flushing the log to a specific LSN, which gives consistent trace point coverage and a less confusing interface. The was only a single user of the previous xfs_log_force_lsn function, which now also passes a NULL log_flushed argument. 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_export.c')
-rw-r--r--fs/xfs/xfs_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_export.c b/fs/xfs/xfs_export.c
index fe1bfee35898..761f3189eff2 100644
--- a/fs/xfs/xfs_export.c
+++ b/fs/xfs/xfs_export.c
@@ -237,7 +237,7 @@ xfs_fs_nfs_commit_metadata(
if (!lsn)
return 0;
- return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL);
+ return xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL);
}
const struct export_operations xfs_export_operations = {