]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: flush stdout after printing to it
authorDarrick J. Wong <djwong@kernel.org>
Fri, 12 Jan 2024 02:07:04 +0000 (18:07 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 12 Jan 2024 02:08:46 +0000 (18:08 -0800)
commit497ca97c1cefbd41b5f758ee66350995d0440897
treea9414c2a5aca04da78f0410a5fe3c159a8e3a8c8
parent52520522199efa984dcf172a3eb8d835b93e324e
xfs_scrub: flush stdout after printing to it

Make sure we flush stdout after printf'ing to it, especially before we
start any operation that could take a while to complete.  Most of scrub
already does this, but we missed a couple of spots.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/xfs_scrub.c