0000-pre.patch
source3/modules/vfs_ceph.c | ||
---|---|---|
750 | 750 |
struct smb_file_time *ft) |
751 | 751 |
{ |
752 | 752 |
struct utimbuf buf; |
753 |
int result; |
|
753 | 754 |
buf.actime = ft->atime.tv_sec; |
754 | 755 |
buf.modtime = ft->mtime.tv_sec; |
755 |
int result = ceph_utime(handle->data, smb_fname->base_name, &buf);
|
|
756 |
result = ceph_utime(handle->data, smb_fname->base_name, &buf); |
|
756 | 757 |
DEBUG(10, ("[CEPH] ntimes(%p, %s, {%ld, %ld, %ld, %ld}) = %d\n", handle, smb_fname_str_dbg(smb_fname), |
757 | 758 |
ft->mtime.tv_sec, ft->atime.tv_sec, ft->ctime.tv_sec, |
758 | 759 |
ft->create_time.tv_sec, result)); |