[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.149 and 1.150

version 1.149, 2014/01/23 10:13:57 version 1.150, 2014/02/07 15:29:22
Line 468  kernfs_xwrite(const struct kernfs_node *
Line 468  kernfs_xwrite(const struct kernfs_node *
 int  int
 kernfs_lookup(void *v)  kernfs_lookup(void *v)
 {  {
         struct vop_lookup_args /* {          struct vop_lookup_v2_args /* {
                 struct vnode * a_dvp;                  struct vnode * a_dvp;
                 struct vnode ** a_vpp;                  struct vnode ** a_vpp;
                 struct componentname * a_cnp;                  struct componentname * a_cnp;
Line 520  kernfs_lookup(void *v)
Line 520  kernfs_lookup(void *v)
   
         found:          found:
                 error = kernfs_allocvp(dvp->v_mount, vpp, kt->kt_tag, kt, 0);                  error = kernfs_allocvp(dvp->v_mount, vpp, kt->kt_tag, kt, 0);
                 return (error);                  if (error)
                           return error;
                   VOP_UNLOCK(*vpp);
                   return 0;
   
         case KFSsubdir:          case KFSsubdir:
                 ks = (struct kernfs_subdir *)kfs->kfs_kt->kt_data;                  ks = (struct kernfs_subdir *)kfs->kfs_kt->kt_data;

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150

CVSweb <webmaster@jp.NetBSD.org>