common/rc: fix unicode checker detection in xfs_scrub
authorDarrick J. Wong <djwong@kernel.org>
Tue, 11 Jan 2022 21:50:19 +0000 (13:50 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 16 Jan 2022 04:56:18 +0000 (12:56 +0800)
commit3f79f632b07371f486cf9754c76ef53b4c579018
treeb99ea45cdf8c7fbf493fc8d45bc2181ea9796bb8
parent94232f08cb9c0b869426b2926f504c3428ac6c81
common/rc: fix unicode checker detection in xfs_scrub

_check_xfs_scrub_does_unicode is still less than adequate -- if running
ldd to report the xfs_scrub binary's dynamic library dependencies
doesn't work, we could still detect support by grepping for strings that
only appear when the unicode checker is built.

Note that this isn't the final word on all of this; I will make this
easier to discover in a future xfs_scrub release.

Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc