[BACK]Return to kernfs_vnops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs

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

Diff for /src/sys/miscfs/kernfs/kernfs_vnops.c between version 1.23 and 1.24

version 1.23, 1994/06/08 11:33:21 version 1.24, 1994/06/15 03:30:44
Line 245  kernfs_lookup(ap)
Line 245  kernfs_lookup(ap)
   
         if (kt->kt_tag == KTT_DEVICE) {          if (kt->kt_tag == KTT_DEVICE) {
                 dev_t *dp = kt->kt_data;                  dev_t *dp = kt->kt_data;
           loop:
                 if (*dp == NODEV || !vfinddev(*dp, kt->kt_vtype, &fvp))                  if (*dp == NODEV || !vfinddev(*dp, kt->kt_vtype, &fvp))
                         return (ENXIO);                          return (ENOENT);
                 *vpp = fvp;                  *vpp = fvp;
                 VREF(fvp);                  if (vget(fvp, 1))
                 VOP_LOCK(fvp);                          goto loop;
                 return (0);                  return (0);
         }          }
   

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

CVSweb <webmaster@jp.NetBSD.org>