]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: check for ENOSYS when using --quiet-unsupported
authorNarthorn <narthorn@gmail.com>
Sat, 7 May 2022 05:43:02 +0000 (07:43 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Jul 2022 15:39:06 +0000 (17:39 +0200)
commitcfc1b128431386a6608e34080c668b838d53ca2f
tree61a0f0cc14fcdbdad2b309a1a0d3e519dcb9f61f
parentb7f69167aeb45ae6f0deaab8d9a0b97d165d4dbb
fstrim: check for ENOSYS when using --quiet-unsupported

Some filesystems like bindfs report ENOSYS (Function not implemented)
for the trim ioctl, which should be caught by --quiet-unsupported.
sys-utils/fstrim.c