Changes between Initial Version and Version 1 of Ticket #387, comment 7


Ignore:
Timestamp:
Jan 29, 2014, 11:56:57 PM (10 years ago)
Author:
andersk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #387, comment 7

    initial v1  
    1414@@ -1262,10 +1262,9 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
    1515     if (credp)
    16         crfree(credp);
    17 
     16        crfree(credp);
     17 
    1818-    if (!valid) {
    19 -       shrink_dcache_parent(dp);
    20 -       d_drop(dp);
     19-       shrink_dcache_parent(dp);
     20-       d_drop(dp);
    2121-    }
    2222+    if (!valid)
    23 +       d_invalidate(dp);
     23+       d_invalidate(dp);
    2424+
    2525     return valid;
    26 
     26 
    2727   bad_dentry:
    2828}}}