Fix VFS layer:
[kai/samba.git] / source3 / smbd / statcache.c
index 44bae48990c2c4aa06d02bccd38e75673641c3b7..5c77474fec157f40b1f1089f9e5c3a4e80b29962 100644 (file)
@@ -242,7 +242,7 @@ BOOL stat_cache_lookup(connection_struct *conn, pstring name, pstring dirpath,
     } else {
       scp = (stat_cache_entry *)(hash_elem->value);
       DO_PROFILE_INC(statcache_hits);
-      if(vfs_stat(conn,scp->translated_path, pst) != 0) {
+      if(VFS_STAT(conn,scp->translated_path, pst) != 0) {
         /* Discard this entry - it doesn't exist in the filesystem.  */
         hash_remove(&stat_cache, hash_elem);
         return False;