android_kernel_xiaomi_sm7250/include/linux/sunrpc
J. Bruce Fields 6f54e2d0d3 [PATCH] knfsd: svcrpc: WARN() instead of returning an error from svc_take_page
Every caller of svc_take_page ignores its return value and assumes it
succeeded.  So just WARN() instead of returning an ignored error.  This would
have saved some time debugging a recent nfsd4 problem.

If there are still failure cases here, then the result is probably that we
overwrite an earlier part of the reply while xdr-encoding.

While the corrupted reply is a nasty bug, it would be worse to panic here and
create the possibility of a remote DOS; hence WARN() instead of BUG().

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Ingo Oeser <ioe-lkml@rameria.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:52 -07:00
..
auth_gss.h
auth.h
cache.h [PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static 2006-03-27 08:44:43 -08:00
clnt.h
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
metrics.h
msg_prot.h
rpc_pipe_fs.h
sched.h
stats.h [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
svc.h [PATCH] knfsd: svcrpc: WARN() instead of returning an error from svc_take_page 2006-04-11 06:18:52 -07:00
svcauth_gss.h
svcauth.h [PATCH] knfsd: Change the store of auth_domains to not be a 'cache' 2006-03-27 08:44:41 -08:00
svcsock.h [NET]: sem2mutex part 2 2006-03-20 22:35:41 -08:00
timer.h
types.h
xdr.h
xprt.h