]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common/rc: return mount_ret in _try_scratch_mount
authorDarrick J. Wong <djwong@kernel.org>
Wed, 22 Jan 2025 04:03:44 +0000 (20:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jan 2025 21:19:33 +0000 (13:19 -0800)
commit3750b4e082cf2d07ecf43e8fd1f5737902d2c89c
treecc9836d13393a81f802fc562ec5f65d604fc1ce9
parentef91e115956c049b4210fdab60b66c4e580de377
common/rc: return mount_ret in _try_scratch_mount

Make the _try_scratch_mount and _test_mount helpers return the exit code
from mount, not _prepare_for_eio_shutdown.

Cc: <fstests@vger.kernel.org> # v2024.12.08
Fixes: 1a49022fab9b4d ("fstests: always use fail-at-unmount semantics for XFS")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
common/rc