]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-hpux11-store-fd-sonner-20060217
authorDerrick Brashear <shadow@dementia.org>
Fri, 17 Feb 2006 17:35:33 +0000 (17:35 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 17 Feb 2006 17:35:33 +0000 (17:35 +0000)
FIXES 23112

based on report from   jbuehler@spirentcom.com

(cherry picked from commit a8f0d4a30f55ac506cad1d82a416b2847ace99e6)

src/afs/HPUX/osi_inode.c

index 4c93e088a1b424fc61a2546b46cae394ba8e1bfc..868e2bc9996c8fff46e1596bde5c153cf256b978 100644 (file)
@@ -145,9 +145,7 @@ afs_syscall_iopen(dev, inode, usrmod)
        iput(ip);
        goto out;
     }
-#ifdef AFS_HPUX1111_ENV
     fd = u.u_r.r_val1;
-#endif
     iunlock(ip);
 
     fp->f_ops = &vnodefops;
@@ -179,9 +177,6 @@ afs_syscall_iopen(dev, inode, usrmod)
      * called by falloc(), which is called above.
      */
     if (is_multithreaded(u.u_procp)) {
-#ifndef AFS_HPUX1111_ENV
-       fd = (int)u.u_r.r_val1;
-#endif
        putf(fd);
     }