]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: check for read-only devices on -a/-A
authorKarel Zak <kzak@redhat.com>
Fri, 11 Jan 2019 09:44:14 +0000 (10:44 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 11 Jan 2019 09:44:14 +0000 (10:44 +0100)
commitfe7d63105d923d43c9f478acded0ac888463e456
tree345eb83b2dab27e7b26605b1360d20f23928d83c
parent86f42e5a2a9d8a483ad0ca85fdf090172fb4d385
fstrim: check for read-only devices on -a/-A

 to avoid "FITRIM ioctl failed: Remote I/O error"

Addresses: https://github.com/karelzak/util-linux/issues/738
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.c