linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725

try to become less invasive about dcache child flushing
This commit is contained in:
Chas Williams 2002-07-26 00:37:51 +00:00 committed by Derrick Brashear
parent fc71eb6e25
commit efbaa07c99

View File

@ -495,6 +495,7 @@ restart:
cur = head; cur = head;
while ((cur = cur->next) != head) { while ((cur = cur->next) != head) {
dentry = list_entry(cur, struct dentry, d_alias); dentry = list_entry(cur, struct dentry, d_alias);
#ifdef notdef
if (DCOUNT(dentry)) { if (DCOUNT(dentry)) {
this_parent = dentry; this_parent = dentry;
repeat: repeat:
@ -533,6 +534,7 @@ restart:
goto resume; goto resume;
} }
} }
#endif
if (!DCOUNT(dentry)) { if (!DCOUNT(dentry)) {
AFS_GUNLOCK(); AFS_GUNLOCK();