[BACK]Return to vfs_syscalls_30.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / common

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

Diff for /src/sys/compat/common/vfs_syscalls_30.c between version 1.33 and 1.33.18.1

version 1.33, 2010/11/19 06:44:35 version 1.33.18.1, 2017/12/03 11:36:53
Line 227  compat_30_sys_getdents(struct lwp *l, co
Line 227  compat_30_sys_getdents(struct lwp *l, co
                 goto out1;                  goto out1;
         }          }
   
         vp = fp->f_data;          vp = fp->f_vnode;
         if (vp->v_type != VDIR) {          if (vp->v_type != VDIR) {
                 error = EINVAL;                  error = EINVAL;
                 goto out1;                  goto out1;
Line 356  compat_30_sys_getfh(struct lwp *l, const
Line 356  compat_30_sys_getfh(struct lwp *l, const
         }          }
         NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);          NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);
         error = namei(&nd);          error = namei(&nd);
           pathbuf_destroy(pb);
         if (error)          if (error)
                 return (error);                  return error;
         vp = nd.ni_vp;          vp = nd.ni_vp;
   
         sz = sizeof(struct compat_30_fhandle);          sz = sizeof(struct compat_30_fhandle);
         error = vfs_composefh(vp, (void *)&fh, &sz);          error = vfs_composefh(vp, (void *)&fh, &sz);
         vput(vp);          vput(vp);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.33.18.1

CVSweb <webmaster@jp.NetBSD.org>