[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.35 and 1.36

version 1.35, 1995/02/03 16:18:46 version 1.36, 1995/04/15 01:56:43
Line 334  kernfs_getattr(ap)
Line 334  kernfs_getattr(ap)
 {  {
         struct vnode *vp = ap->a_vp;          struct vnode *vp = ap->a_vp;
         struct vattr *vap = ap->a_vap;          struct vattr *vap = ap->a_vap;
           struct timeval tv;
         int error = 0;          int error = 0;
         char strbuf[KSTRING], *buf;          char strbuf[KSTRING], *buf;
   
Line 344  kernfs_getattr(ap)
Line 345  kernfs_getattr(ap)
         vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0];          vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0];
         vap->va_size = 0;          vap->va_size = 0;
         vap->va_blocksize = DEV_BSIZE;          vap->va_blocksize = DEV_BSIZE;
         microtime(&vap->va_atime);          microtime(&tv);
           TIMEVAL_TO_TIMESPEC(&tv, &vap->va_atime);
         vap->va_mtime = vap->va_atime;          vap->va_mtime = vap->va_atime;
         vap->va_ctime = vap->va_ctime;          vap->va_ctime = vap->va_ctime;
         vap->va_gen = 0;          vap->va_gen = 0;

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

CVSweb <webmaster@jp.NetBSD.org>