OSDN Git Service

xfs: factor out a new xfs_log_force_inode helper
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Apr 2020 18:45:37 +0000 (11:45 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Apr 2020 15:44:35 +0000 (08:44 -0700)
commit54fbdd1035e3a4e4f4082c335b095426cdefd092
treebe09d256061a27177c444acea851977fe308ca28
parentd9fdd0adf932c8d615cfe52bbc689c373a95377f
xfs: factor out a new xfs_log_force_inode helper

Create a new helper to force the log up to the last LSN touching an
inode.

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>
fs/xfs/xfs_export.c
fs/xfs/xfs_file.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h