hpux11-store-fd-sonner-20060217
authorDerrick Brashear <shadow@dementia.org>
Fri, 17 Feb 2006 17:34:15 +0000 (17:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 17 Feb 2006 17:34:15 +0000 (17:34 +0000)
FIXES 23112

based on report from   jbuehler@spirentcom.com

src/afs/HPUX/osi_inode.c

index 4c93e08..868e2bc 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);
     }