STABLE14-hpux11-store-fd-sonner-20060217

FIXES 23112

based on report from  	jbuehler@spirentcom.com


(cherry picked from commit a8f0d4a30f55ac506cad1d82a416b2847ace99e6)
This commit is contained in:
Derrick Brashear 2006-02-17 17:35:33 +00:00
parent e0a232ba6b
commit cb5e172252

View File

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