[Libguestfs] [PATCH 2/4] daemon: fstrim: Turn "discard operation is not supported" into ENOTSUP.

Pino Toscano ptoscano at redhat.com
Fri Aug 5 14:05:15 UTC 2016


On Friday, 5 August 2016 12:22:45 CEST Richard W.M. Jones wrote:
> Because we run the external fstrim command we 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.
> ---

Can you please note this behaviour in the documentation of the fstrim
API?

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160805/f7143494/attachment.sig>


More information about the Libguestfs mailing list