Displaying 2 results from an estimated 2 matches for "527acfd".
Did you mean:
527acfd48
2016 Aug 05
0
[PATCH 2/4] daemon: fstrim: Turn "discard operation is not supported" into ENOTSUP.
...e don't have access to the
kernel errno when it fails. However in the case where it prints this
specific error message, turn that into errno ENOTSUP.
---
daemon/fstrim.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/daemon/fstrim.c b/daemon/fstrim.c
index 1ad3630..527acfd 100644
--- a/daemon/fstrim.c
+++ b/daemon/fstrim.c
@@ -105,7 +105,13 @@ do_fstrim (const char *path,
r = commandv (&out, &err, argv);
if (r == -1) {
- reply_with_error ("%s", err);
+ /* If the error is about the kernel operation not being supported
+ * for this f...
2016 Aug 05
6
[PATCH 0/4] sparsify: Warn instead of error if a filesystem cannot be fstrimmed.
Fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1364347