[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.95 and 1.96

version 1.95, 2003/09/10 09:59:47 version 1.96, 2003/09/10 10:22:45
Line 655  kernfs_getattr(v)
Line 655  kernfs_getattr(v)
          * We don't guard the read from time(9) with splclock(9) since we           * We don't guard the read from time(9) with splclock(9) since we
          * don't actually need to be THAT sure the access is atomic.           * don't actually need to be THAT sure the access is atomic.
          */           */
         if (kfs->kfs_kt->kt_namlen == 8 &&          if (kfs->kfs_kt && kfs->kfs_kt->kt_namlen == 8 &&
             !memcmp(kfs->kfs_kt->kt_name, "boottime", 8)) {              !memcmp(kfs->kfs_kt->kt_name, "boottime", 8)) {
                 TIMEVAL_TO_TIMESPEC(&boottime, &vap->va_ctime);                  TIMEVAL_TO_TIMESPEC(&boottime, &vap->va_ctime);
         } else {          } else {

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

CVSweb <webmaster@jp.NetBSD.org>