Second attempt at fix for bug 6529 - Offline files conflict with Vista and Office...
[ira/wip.git] / source3 / modules / vfs_onefs.c
index 31f0b853fb79d88049fdd802878ed5e4f4c397fb..865eccdbf5d968e324b10b714997746a343e7cf5 100644 (file)
@@ -234,7 +234,7 @@ static int onefs_ntimes(vfs_handle_struct *handle,
        return onefs_vtimes_streams(handle, smb_fname, flags, times);
 }
 
-static uint32_t onefs_fs_capabilities(struct vfs_handle_struct *handle)
+static uint32_t onefs_fs_capabilities(struct vfs_handle_struct *handle, enum timestamp_set_resolution *p_ts_res)
 {
        uint32_t result = 0;
 
@@ -243,7 +243,9 @@ static uint32_t onefs_fs_capabilities(struct vfs_handle_struct *handle)
                result |= FILE_NAMED_STREAMS;
        }
 
-       return result | SMB_VFS_NEXT_FS_CAPABILITIES(handle);
+       result |= SMB_VFS_NEXT_FS_CAPABILITIES(handle, p_ts_res);
+       *p_ts_res = TIMESTAMP_SET_MSEC;
+       return result;
 }
 
 static struct vfs_fn_pointers onefs_fns = {