vfs: Remove "sbuf" from readdir_fn()
[samba.git] / source3 / modules / vfs_ceph.c
index af303ac60b7f95a64b4950957cea644039ac43c2..d7772c62119b00b4ad770b8c667cbf1496904008 100644 (file)
@@ -451,8 +451,7 @@ static DIR *cephwrap_fdopendir(struct vfs_handle_struct *handle,
 
 static struct dirent *cephwrap_readdir(struct vfs_handle_struct *handle,
                                       struct files_struct *dirfsp,
-                                      DIR *dirp,
-                                      SMB_STRUCT_STAT *sbuf)
+                                      DIR *dirp)
 {
        struct dirent *result;
 
@@ -460,10 +459,6 @@ static struct dirent *cephwrap_readdir(struct vfs_handle_struct *handle,
        result = ceph_readdir(handle->data, (struct ceph_dir_result *) dirp);
        DBG_DEBUG("[CEPH] readdir(...) = %p\n", result);
 
-       /* Default Posix readdir() does not give us stat info.
-        * Set to invalid to indicate we didn't return this info. */
-       if (sbuf)
-               SET_STAT_INVALID(*sbuf);
        return result;
 }