If the inode is not allocated, don't bother updating timestamps.
authorNickolai Zeldovich <kolya@mit.edu>
Fri, 26 Apr 2002 22:33:55 +0000 (22:33 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Fri, 26 Apr 2002 22:33:55 +0000 (22:33 +0000)
Pointed out by Frank.Batschulat@Sun.COM.

src/afs/SOLARIS/osi_inode.c

index 4d1f312..e3584dc 100644 (file)
@@ -106,7 +106,6 @@ igetinode(vfsp, dev, inode, ipp, credp,perror)
     
     if (ip->i_mode == 0) {
        /* Not an allocated inode */
-       AFS_ITIMES(ip);
        rw_exit(&ip->i_contents);
        VN_RELE(ITOV(ip));
        return (ENOENT);