From 20656c4a44c4ae294e99eaa60cf8137a2fda51d3 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 22 May 2003 16:16:19 +0000 Subject: [PATCH] revert-pioctl-return-negative-errors-on-linux-20030522 syscall stub handles it. this is actually an overflow on 64 bit system --- src/afs/afs_pioctl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 230ad5e..f9120ca 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -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 } -- 1.9.4