If the inode is not allocated, don't bother updating timestamps.

Pointed out by Frank.Batschulat@Sun.COM.
This commit is contained in:
Nickolai Zeldovich 2002-04-26 22:33:55 +00:00
parent be1458b078
commit a319288157

View 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);