Ignore:
Timestamp:
Jan 4, 2011, 1:53:38 PM (15 years ago)
Author:
Silvan Scherrer
Message:

samba client 2.0: invalidate cache, when files are changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-2.0/src/ndpsmb.c

    r507 r510  
    11861186        smbwrp_fileinfo finfo;
    11871187
    1188         debug_printf("NdpSetPathInfo in FIXME [%p]\n", pConn);
     1188        debug_printf("NdpSetPathInfo in [%p]\n", pConn);
     1189
     1190        // delete the dir cache
     1191        dircache_invalidate(szPathName, pRes->pdc, 1);
    11891192
    11901193        do {
     
    19741977        unsigned long action;
    19751978
    1976         debuglocal(9,"NdpFileSetFilePtrl in [%p]\n", pConn);
     1979        debuglocal(9,"NdpFileSetFilePtrL in [%p]\n", pConn);
    19771980
    19781981        do {
     
    20112014        debuglocal(9,"NdpFileClose in [%p] %d <%s>\n", pConn, pConn->file.fd, pConn->file.fd < 0 ? "!null!" : pConn->file.fname);
    20122015
     2016        // delete the dir cache
     2017        dircache_invalidate(pConn->file.fullname, pRes->pdc, 1);
     2018
    20132019        do {
    20142020                if (pConn->file.fd < 0)
Note: See TracChangeset for help on using the changeset viewer.