patch-2.3.43 linux/net/sunrpc/sysctl.c
Next file: linux/net/sunrpc/xprt.c
Previous file: linux/net/sunrpc/svcsock.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Feb 10 12:16:38 2000
- Orig file:
v2.3.42/linux/net/sunrpc/sysctl.c
- Orig date:
Thu Nov 18 20:25:38 1999
diff -u --recursive --new-file v2.3.42/linux/net/sunrpc/sysctl.c linux/net/sunrpc/sysctl.c
@@ -76,13 +76,8 @@
if (!access_ok(VERIFY_READ, buffer, left))
return -EFAULT;
p = (char *) buffer;
-#if LINUX_VERSION_CODE >= 0x020100
while (left && __get_user(c, p) >= 0 && isspace(c))
left--, p++;
-#else
- while (left && (c = get_fs_byte(p)) >= 0 && isspace(c))
- left--, p++;
-#endif
if (!left)
goto done;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)