Project

General

Profile

Bug #10834 » 0000-pre.patch

Zheng Yan, 02/25/2015 11:07 AM

View differences:

source3/modules/vfs_ceph.c
struct smb_file_time *ft)
{
struct utimbuf buf;
int result;
buf.actime = ft->atime.tv_sec;
buf.modtime = ft->mtime.tv_sec;
int result = ceph_utime(handle->data, smb_fname->base_name, &buf);
result = ceph_utime(handle->data, smb_fname->base_name, &buf);
DEBUG(10, ("[CEPH] ntimes(%p, %s, {%ld, %ld, %ld, %ld}) = %d\n", handle, smb_fname_str_dbg(smb_fname),
ft->mtime.tv_sec, ft->atime.tv_sec, ft->ctime.tv_sec,
ft->create_time.tv_sec, result));
(6-6/6)