hpux11-store-fd-sonner-20060217

FIXES 23112

based on report from  	jbuehler@spirentcom.com
This commit is contained in:
Derrick Brashear 2006-02-17 17:34:15 +00:00
parent 167819c0c5
commit a8f0d4a30f

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