]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/atomicwrites: fix _require_scratch_write_atomic
authorDarrick J. Wong <djwong@kernel.org>
Mon, 2 Jun 2025 19:22:14 +0000 (12:22 -0700)
committerZorro Lang <zlang@kernel.org>
Thu, 5 Jun 2025 13:48:26 +0000 (21:48 +0800)
commit4f2e4be4a632369e0015026f1965264904a085bf
tree49e28a3995e135b5e5b41a705cbf54f84d7b2018
parentfce21ab7afff4518e6663e37fd22268c3f8f07a5
common/atomicwrites: fix _require_scratch_write_atomic

Fix this function to call _notrun whenever something fails.  If we can't
figure out the atomic write geometry, then we haven't satisfied the
preconditions for the test.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/atomicwrites