]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: remove the setblksize == 1 case in libxfs_device_open
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Dec 2023 16:37:34 +0000 (17:37 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 18 Dec 2023 13:57:48 +0000 (14:57 +0100)
commit8798d4a6a73caea5fb8d95ae87303d3d39c68abe
treeb853a038c9f36e4d09496fd943d1e021583aac68
parent23d88955917b371b66b83e645a05d8b0cc447dd6
libxfs: remove the setblksize == 1 case in libxfs_device_open

All callers of libxfs_init always pass an actual sector size or zero in
the setblksize member.  Remove the unreachable setblksize == 1 case.

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>
libxfs/init.c