mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
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:
parent
7d710fd45f
commit
20656c4a44
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user