From: Nickolai Zeldovich Date: Fri, 26 Apr 2002 22:33:55 +0000 (+0000) Subject: If the inode is not allocated, don't bother updating timestamps. X-Git-Tag: openafs-devel_1_3_3~144 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a31928815796bcbd1acf3005a0f628a21bbb0d8a;p=packages%2Fo%2Fopenafs.git If the inode is not allocated, don't bother updating timestamps. Pointed out by Frank.Batschulat@Sun.COM. --- diff --git a/src/afs/SOLARIS/osi_inode.c b/src/afs/SOLARIS/osi_inode.c index 4d1f312cf..e3584dc77 100644 --- a/src/afs/SOLARIS/osi_inode.c +++ b/src/afs/SOLARIS/osi_inode.c @@ -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);