vfs_ceph: drop fdopendir handler
authorDavid Disseldorp <ddiss@samba.org>
Wed, 27 Mar 2019 12:10:04 +0000 (13:10 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Tue, 14 May 2019 22:17:32 +0000 (22:17 +0000)
commit76d7d05b1da6c0703b1c2bade0c4467c7cc1adec
treefff4dee800f6f496651a4ff7217b301f5dc48d9a
parent43958af1d50f0185e21e6cd74110c455ee8996af
vfs_ceph: drop fdopendir handler

libcephfs doesn't currently offer an fdopendir equivalent, so the
existing implementation peeks at fsp->fsp_name->base_name, which can
break if vfs_ceph is used under a separate path-munging VFS module.

Return ENOSYS instead and rely on existing OpenDir_fsp() fallback.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_ceph.c