[PATCH v2] tests/file_handle.c: skip if fs can't do handles

Dmitry V. Levin ldv at altlinux.org
Tue May 4 14:54:15 UTC 2021


On Tue, May 04, 2021 at 12:29:18AM +0000, Alyssa Ross wrote:
> Quoting name_to_handle_at(2):
> 
> > Some care is needed here as EOVERFLOW can also indicate that no file
> > handle is available for this particular name in a filesystem which
> > does normally support file-handle lookup.  This case can be detected
> > when the EOVERFLOW error is returned without handle_bytes being
> > increased.
> 
> This patch handles that case, resolving 20 failures for me on ZFS, and
> making `make check' able to run successfully.

Applied, thanks.


-- 
ldv


More information about the Strace-devel mailing list