From: Anoop C S Date: Thu, 3 Oct 2024 07:02:04 +0000 (+0530) Subject: vfs_ceph_new: Retrieve fs capabilties using vfs_get_fs_capabilities X-Git-Tag: tdb-1.4.13~1005 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9524b402f811fd2fc35c9952df0496898f8e2cbe;p=thirdparty%2Fsamba.git vfs_ceph_new: Retrieve fs capabilties using vfs_get_fs_capabilities Make use of get_fs_capabilties to start with already known fs capabilties from connect phase. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15716 Signed-off-by: Anoop C S Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c index 5b43c0726b9..c33b715e8cb 100644 --- a/source3/modules/vfs_ceph_new.c +++ b/source3/modules/vfs_ceph_new.c @@ -1921,9 +1921,7 @@ static uint32_t vfs_ceph_fs_capabilities( struct vfs_handle_struct *handle, enum timestamp_set_resolution *p_ts_res) { - uint32_t caps = FILE_CASE_SENSITIVE_SEARCH | FILE_CASE_PRESERVED_NAMES; - - *p_ts_res = TIMESTAMP_SET_NT_OR_BETTER; + uint32_t caps = vfs_get_fs_capabilities(handle->conn, p_ts_res); return caps; }