]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: fix i18n of the decode_special_owner return value
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Mar 2026 16:51:25 +0000 (09:51 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 9 Apr 2026 22:30:18 +0000 (15:30 -0700)
commitb2a12740b1150cc334f2c5f2849d740c90ef53a3
tree577868f5b3408f42d7b0022f03631397ebeb60f5
parent4e0c9692f6a88cf3320b4bb2f036b82710278c3b
xfs_scrub: fix i18n of the decode_special_owner return value

The function decode_special_owner turns a special fsmap owner into a
printable string value.  However, it does not query the gettext catalog
for a local language translation, which leads to annoying multilanguage
failure messages.  Fix that by adding the appropriate wrappers.

Cc: <linux-xfs@vger.kernel.org> # v4.15.0
Fixes: b364a9c008fc04 ("xfs_scrub: scrub file data blocks")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/phase6.c