[BACK]Return to nfs_subs.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / nfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/nfs/nfs_subs.c between version 1.49 and 1.50

version 1.49, 1997/10/19 01:46:32 version 1.50, 1998/01/22 00:53:59
Line 1270  nfs_enterdircache(vp, off, blkoff, en, b
Line 1270  nfs_enterdircache(vp, off, blkoff, en, b
                  */                   */
                 nfs_initdircache(vp);                  nfs_initdircache(vp);
   
           /*
            * XXX refuse entries for offset 0. amd(8) erroneously sets
            * cookie 0 for the '.' entry, making this necessary. This
            * isn't so bad, as 0 is a special case anyway.
            */
           if (off == 0)
                   return &dzero;
   
         ndp = nfs_searchdircache(vp, off, 0, &hashent);          ndp = nfs_searchdircache(vp, off, 0, &hashent);
   
         if (ndp && ndp->dc_blkno != -1) {          if (ndp && ndp->dc_blkno != -1) {

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

CVSweb <webmaster@jp.NetBSD.org>