]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
open_by_handle: add support for testing connectable file handles
authorAmir Goldstein <amir73il@gmail.com>
Fri, 9 May 2025 17:00:32 +0000 (19:00 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 25 May 2025 11:55:27 +0000 (19:55 +0800)
commit67b823d4a832bdc79e1750774d67f0841413b312
tree205f468dd86f7d8a758011003913f106ecf7a480
parent22cc9e29bdf8ead5aeac4bdfa37572ae56add16c
open_by_handle: add support for testing connectable file handles

Test for kernel and filesystem support for conenctable file handles.

With -N flag, encode connectable file handles and fail the test if the
kernel or filesystem do not support conenctable file handles.

Verify that decoding connectable file handles always results in a non
empty path of the fd.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc
src/open_by_handle.c