diff --git a/src/WINNT/afsd/cm_buf.c b/src/WINNT/afsd/cm_buf.c index 6010f431cb..acfde34a3a 100644 --- a/src/WINNT/afsd/cm_buf.c +++ b/src/WINNT/afsd/cm_buf.c @@ -2000,7 +2000,7 @@ long buf_DirtyBuffersExist(cm_fid_t *fidp) i = BUF_FILEHASH(fidp); - for (bp = cm_data.buf_fileHashTablepp[i]; bp; bp=bp->allp, bcount++) { + for (bp = cm_data.buf_fileHashTablepp[i]; bp; bp=bp->fileHashp, bcount++) { if (!cm_FidCmp(fidp, &bp->fid) && (bp->flags & CM_BUF_DIRTY)) return 1; }