revert-pioctl-return-negative-errors-on-linux-20030522

syscall stub handles it. this is actually an overflow on 64 bit system
This commit is contained in:
Derrick Brashear 2003-05-22 16:16:19 +00:00
parent 7d710fd45f
commit 20656c4a44

View File

@ -1012,9 +1012,6 @@ afs_syscall_pioctl(path, com, cmarg, follow)
#endif
}
PIOCTL_FREE_CRED();
#ifdef AFS_LINUX22_ENV
return -code;
#else
#if defined(KERNEL_HAVE_UERROR)
if (!getuerror())
setuerror(code);
@ -1022,7 +1019,6 @@ afs_syscall_pioctl(path, com, cmarg, follow)
#else
return (code);
#endif
#endif
}