From: Nickolai Zeldovich Date: Mon, 29 Apr 2002 20:13:25 +0000 (+0000) Subject: If the inode is not allocated, don't bother updating timestamps. X-Git-Tag: openafs-stable-1_2_4~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=484e0d1464e55a6b1a57d5fa391cf9eedf53e53a;p=packages%2Fo%2Fopenafs.git If the inode is not allocated, don't bother updating timestamps. Pointed out by Frank.Batschulat@Sun.COM. (cherry picked from commit a31928815796bcbd1acf3005a0f628a21bbb0d8a) --- 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);