]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libfrog: make platform_set_blocksize exit on fatal failure
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Dec 2023 16:37:35 +0000 (17:37 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 18 Dec 2023 13:57:49 +0000 (14:57 +0100)
commita3106f3292ad49301437cff111a6a945e5305fe4
treed398d4f72cb85b1ea37dfa25c43b51398e47b130
parent8798d4a6a73caea5fb8d95ae87303d3d39c68abe
libfrog: make platform_set_blocksize exit on fatal failure

platform_set_blocksize has a fatal argument that is currently only
used to change the printed message.  Make it actually fatal similar to
other libfrog platform helpers to simplify the caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libfrog/linux.c
libfrog/platform.h
libxfs/init.c