From 651d5a89c59c107c05e789358624058e16af1b66 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 20 Mar 2007 16:56:16 +0000 Subject: r21889: * Pull from SAMBA-3_0_25 svn r21888 * Set version to 3.0.25pre2 --- source/smbd/files.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/smbd/files.c') diff --git a/source/smbd/files.c b/source/smbd/files.c index 66ef37bb0fa..23fd47671b8 100644 --- a/source/smbd/files.c +++ b/source/smbd/files.c @@ -383,11 +383,11 @@ files_struct *file_find_print(void) Record the owner of that modtime. ****************************************************************************/ -void fsp_set_pending_modtime(files_struct *tfsp, time_t pmod) +void fsp_set_pending_modtime(files_struct *tfsp, const struct timespec mod) { files_struct *fsp; - if (null_mtime(pmod)) { + if (null_timespec(mod)) { return; } @@ -395,7 +395,7 @@ void fsp_set_pending_modtime(files_struct *tfsp, time_t pmod) if ( fsp->fh->fd != -1 && fsp->dev == tfsp->dev && fsp->inode == tfsp->inode ) { - fsp->pending_modtime = pmod; + fsp->pending_modtime = mod; fsp->pending_modtime_owner = False; } } -- cgit