Changeset 596 for trunk/server/source3/modules/vfs_scannedonly.c
- Timestamp:
- Jul 2, 2011, 3:35:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/modules/vfs_scannedonly.c
r480 r596 427 427 } 428 428 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)) { 431 431 talloc_free(cache_smb_fname); 432 432 return true; … … 490 490 /* still no cachefile, or still too old, return 0 */ 491 491 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)) { 494 494 DEBUG(SCANNEDONLY_DEBUG, 495 495 ("retval=%d, return 0\n",retval));
Note:
See TracChangeset
for help on using the changeset viewer.