Ignore:
Timestamp:
Jul 2, 2011, 3:35:33 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/modules/vfs_scannedonly.c

    r480 r596  
    427427        }
    428428        if (retval == 0 && VALID_STAT(cache_smb_fname->st)) {
    429                 if (timespec_is_newer(&smb_fname->st.st_ex_mtime,
    430                                       &cache_smb_fname->st.st_ex_mtime)) {
     429                if (timespec_is_newer(&smb_fname->st.st_ex_ctime,
     430                                      &cache_smb_fname->st.st_ex_ctime)) {
    431431                        talloc_free(cache_smb_fname);
    432432                        return true;
     
    490490        /* still no cachefile, or still too old, return 0 */
    491491        if (retval != 0
    492             || !timespec_is_newer(&smb_fname->st.st_ex_mtime,
    493                                   &cache_smb_fname->st.st_ex_mtime)) {
     492            || !timespec_is_newer(&smb_fname->st.st_ex_ctime,
     493                                  &cache_smb_fname->st.st_ex_ctime)) {
    494494                DEBUG(SCANNEDONLY_DEBUG,
    495495                      ("retval=%d, return 0\n",retval));
Note: See TracChangeset for help on using the changeset viewer.