]> git.ipfire.org Git - thirdparty/systemd.git/commit
growfs: ensure that we operate on a block device before issuing a block ioctl
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Jul 2022 09:31:50 +0000 (11:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 Jul 2022 09:31:50 +0000 (11:31 +0200)
commit12810f3abbc5e3d0d9a54495b79538cb18714180
treea870b96f24a562aaf8816e8695ffce0dc5409801
parent2e7dd6682bc9da79d5249caa93ea1bde37a0f315
growfs: ensure that we operate on a block device before issuing a block ioctl

Similar to the previous commit: let's add extra safety so that we don't
issue ioctls on the wrong type of inode.
src/partition/growfs.c