]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkfs-util: Don't set MKE2FS_DEVICE_PHYS_SECTSIZE
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Aug 2023 10:10:14 +0000 (12:10 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Aug 2023 10:10:14 +0000 (12:10 +0200)
commitb1110c81d8e943a8895a8a07ba84986a74b0943c
treebd498abc0c61ed456b25709df98ea3092c812d73
parent5f13fb0a738aba5bd199b561cfc4bd2df9cd1eb7
mkfs-util: Don't set MKE2FS_DEVICE_PHYS_SECTSIZE

We only care about the logical sector size and if the physical sector
size isn't set and we're operating on a file, mke2fs will default the
physical sector size to the logical block size anyway.

This change makes sure that if we're operating on a block device and
set an explicit logical sector size, that doesn't affect the physical
sector size.
src/shared/mkfs-util.c