]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
metadump: make non-local function variables more obvious
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Feb 2025 22:00:25 +0000 (14:00 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 16 Feb 2025 11:25:57 +0000 (19:25 +0800)
commitab459c67c5e0347ab4a5c28eadfe5ee4e3fd2f01
tree842d580a4a5a7824ed76b04522177bfcdaec8853
parentcc379f50f3bd887092ba00a92ca05700e6975123
metadump: make non-local function variables more obvious

In _xfs_verify_metadump_v2(), we want to set up some loop devices,
record the names of those loop devices, and then leave the variables in
the global namespace so that _xfs_cleanup_verify_metadump can dispose of
them.

Elsewhere in fstests the convention for global variables is to put them
in all caps to make it obvious that they're global and not local
variables, so do that here too.

Cc: <fstests@vger.kernel.org> # v2024.12.08
Fixes: ce79de11337e38 ("fstests: clean up loop device instantiation")
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/metadump