UPAGES 8; dumpstack 96; msgbufmap; kernacc rounding bug fixed
[unix-history] / usr / src / sys / kern / vfs_syscalls.c
index 9a12bc6..e464e9c 100644 (file)
@@ -1,4 +1,4 @@
-/*     vfs_syscalls.c  3.4     %G%     */
+/*     vfs_syscalls.c  4.2     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -65,7 +65,7 @@ off_t pipeadj;
        register struct buf *bp;
        struct stat ds;
 
        register struct buf *bp;
        struct stat ds;
 
-       IUPDAT(ip, &time, &time);
+       IUPDAT(ip, &time, &time, 0);
        /*
         * first copy from inode table
         */
        /*
         * first copy from inode table
         */
@@ -252,10 +252,8 @@ getmdev()
        dev_t dev;
        register struct inode *ip;
 
        dev_t dev;
        register struct inode *ip;
 
-#ifdef UCB
        if (!suser())
                return(NODEV);
        if (!suser())
                return(NODEV);
-#endif
        ip = namei(uchar, 0);
        if(ip == NULL)
                return(NODEV);
        ip = namei(uchar, 0);
        if(ip == NULL)
                return(NODEV);