[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.116 and 1.117

version 1.116, 2005/12/24 20:45:09 version 1.117, 2006/03/01 12:38:32
Line 1017  kernfs_setdirentfileno_kt(struct dirent 
Line 1017  kernfs_setdirentfileno_kt(struct dirent 
                 return error;                  return error;
         if (kt->kt_tag == KFSdevice) {          if (kt->kt_tag == KFSdevice) {
                 struct vattr va;                  struct vattr va;
                 if ((error = VOP_GETATTR(vp, &va, ap->a_cred,  
                     ap->a_uio->uio_segflg == UIO_USERSPACE ?                  error = VOP_GETATTR(vp, &va, ap->a_cred, curlwp);
                     ap->a_uio->uio_lwp : &lwp0)) != 0)                  if (error != 0) {
                         return (error);                          return error;
                   }
                 d->d_fileno = va.va_fileid;                  d->d_fileno = va.va_fileid;
         } else {          } else {
                 kfs = VTOKERN(vp);                  kfs = VTOKERN(vp);

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.117

CVSweb <webmaster@jp.NetBSD.org>