diff options
author | Jeremy Allison <jra@samba.org> | 2009-08-24 20:57:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-08-24 20:57:37 -0700 |
commit | c69f92d16d57c2387d31b5dfd01aab0685a671d0 (patch) | |
tree | 4eef7104df67108cde2fd436a28c51176473f5e5 /source3/modules/vfs_onefs.c | |
parent | 9a86f26a5f0b421f8cf259e579fe5946b39623f6 (diff) | |
download | samba-c69f92d16d57c2387d31b5dfd01aab0685a671d0.tar.gz samba-c69f92d16d57c2387d31b5dfd01aab0685a671d0.tar.bz2 samba-c69f92d16d57c2387d31b5dfd01aab0685a671d0.zip |
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.
Diffstat (limited to 'source3/modules/vfs_onefs.c')
-rw-r--r-- | source3/modules/vfs_onefs.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 = { |