]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: return mount_ret in _try_scratch_mount
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Feb 2025 22:00:29 +0000 (14:00 -0800)
committerZorro Lang <zlang@kernel.org>
Tue, 18 Feb 2025 04:42:39 +0000 (12:42 +0800)
commitdba402b7e3ae10cba69b5b01742e7e23a72b666a
treeeeb5918300951b1d1c36ec942e4095566490c9e4
parent5dc27fd20f80160c0cd8403f319c3e5ce467833b
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc