[Libguestfs] [PATCH] fuse: provide a stub "flush" implementation (RHBZ#660687).
Pino Toscano
ptoscano at redhat.com
Wed Jan 15 17:59:38 UTC 2014
Hi,
On Thursday 12 December 2013 16:28:31 Pino Toscano wrote:
> It seems that FUSE can invoke flush to make sure the pending changes
> (e.g. to the attributes) of a file are set. Since a missing flush
> implementation is handled as if it were returning ENOSYS, this can
> cause issues later.
>
> To overcome this, just provide a stub implementation which does
> nothing, since we have nothing to do and don't want to have FUSE
> error out.
>
> Furthermore, uncomment the timestamp checks in test-fuse.sh, since now
> they should be working fine.
Apparently this way not the right fix for rh#660687 (although the
addition of the patch did not harm). I should have hopefully found the
right cause of it, will follow-up with the fix.
--
Pino Toscano
More information about the Libguestfs
mailing list