]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common/populate: fix bash syntax error in _fill_fs
authorDarrick J. Wong <djwong@kernel.org>
Tue, 1 Oct 2024 16:48:56 +0000 (09:48 -0700)
committerZorro Lang <zlang@kernel.org>
Sat, 12 Oct 2024 14:06:30 +0000 (22:06 +0800)
commitcf838edbaec793c0172686f942b8025418ab33cc
tree18c70ee2bbd8ebdd32139e51a507a2cb5ff73982
parent37f61a8fd323669fb39c4191ebd78d6d91e6826f
common/populate: fix bash syntax error in _fill_fs

In bash, one does not set a variable by prepending the dollar sign to
the variable name.  Amazingly, this was copied verbatim from generic/256
in 2016 and hasn't been caught since its introduction in 2011. :(

Cc: allison.henderson@oracle.com
Fixes: 815015e9ee ("generic: make 17[1-4] work well when btrfs compression is enabled")
Fixes: b55fb0807c ("xfstests: Add ENOSPC Hole Punch Test")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/populate