X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/cd66a61f882c077209c4edbf2071544d313d5b7a..66d4ba1b0839a671d5d4622bcd6c2c55a7cf8690:/usr/src/sys/ufs/ffs/ufs_vnops.c diff --git a/usr/src/sys/ufs/ffs/ufs_vnops.c b/usr/src/sys/ufs/ffs/ufs_vnops.c index ece9c45663..abc15ffa8c 100644 --- a/usr/src/sys/ufs/ffs/ufs_vnops.c +++ b/usr/src/sys/ufs/ffs/ufs_vnops.c @@ -1,4 +1,4 @@ -/* ufs_vnops.c 4.21 82/03/18 */ +/* ufs_vnops.c 4.22 82/04/01 */ #include "../h/param.h" #include "../h/systm.h" @@ -409,7 +409,7 @@ fstat() } /* - * Stat system call. This version does not follow links. + * Stat system call; this follows links. */ stat() { @@ -420,7 +420,7 @@ stat() } *uap; uap = (struct a *)u.u_ap; - ip = namei(uchar, 0, 0); + ip = namei(uchar, 0, 1); if (ip == NULL) return; stat1(ip, uap->sb); @@ -428,7 +428,7 @@ stat() } /* - * Lstat system call. This version does follow links. + * Lstat system call; like stat but doesn't follow links. */ lstat() { @@ -439,7 +439,7 @@ lstat() } *uap; uap = (struct a *)u.u_ap; - ip = namei(uchar, 0, 1); + ip = namei(uchar, 0, 0); if (ip == NULL) return; stat1(ip, uap->sb);