diff options
author | Karel Zak | 2018-04-06 12:53:18 +0200 |
---|---|---|
committer | Karel Zak | 2018-04-06 12:53:18 +0200 |
commit | 7afdbb6f0760952c6e4f86d4c73442d1caee96a8 (patch) | |
tree | 3eeb8a0c35c652505aa1ce97d2c8f9d200a00a29 /bash-completion/setpriv | |
parent | dmesg: fix raw output (diff) | |
download | kernel-qcow2-util-linux-7afdbb6f0760952c6e4f86d4c73442d1caee96a8.tar.gz kernel-qcow2-util-linux-7afdbb6f0760952c6e4f86d4c73442d1caee96a8.tar.xz kernel-qcow2-util-linux-7afdbb6f0760952c6e4f86d4c73442d1caee96a8.zip |
fstrim: Return EXIT_FAILURE when FTRIM ioctl fails
commit 36c370cbf1481aa8724dff8b7b7fec4a8ba9930b adds fstrim_filesystem()
that return -1 or 1 depending on the FTRIM ioctl failures.
The fstrim_filesystem() return codes should not be used as exit codes.
Reported-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'bash-completion/setpriv')
0 files changed, 0 insertions, 0 deletions