From c69f92d16d57c2387d31b5dfd01aab0685a671d0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 24 Aug 2009 20:57:37 -0700 Subject: Second attempt at fix for bug 6529 - Offline files conflict with Vista and Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. --- source3/modules/vfs_onefs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/modules/vfs_onefs.c') diff --git a/source3/modules/vfs_onefs.c b/source3/modules/vfs_onefs.c index 31f0b853fb..865eccdbf5 100644 --- a/source3/modules/vfs_onefs.c +++ b/source3/modules/vfs_onefs.c @@ -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 = { -- cgit