OpenCloudOS-Kernel/net/sunrpc
Christoph Hellwig 49705b7743 [PATCH] sanitize lookup_hash prototype
->permission and ->lookup have a struct nameidata * argument these days to
pass down lookup intents.  Unfortunately some callers of lookup_hash don't
actually pass this one down.  For lookup_one_len() we don't have a struct
nameidata to pass down, but as this function is a library function only
used by filesystem code this is an acceptable limitation.  All other
callers should pass down the nameidata, so this patch changes the
lookup_hash interface to only take a struct nameidata argument and derives
the other two arguments to __lookup_hash from it.  All callers already have
the nameidata argument available so this is not a problem.

At the same time I'd like to deprecate the lookup_hash interface as there
are better exported interfaces for filesystem usage.  Before it can
actually be removed I need to fix up rpc_pipefs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-09 07:56:00 -08:00
..
auth_gss [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
Makefile [PATCH] RPC: introduce client-side transport switch 2005-09-23 12:38:12 -04:00
auth.c NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled 2005-11-04 15:39:48 -05:00
auth_null.c [PATCH] RPC: Eliminate socket.h includes in RPC client 2005-09-23 12:38:23 -04:00
auth_unix.c [PATCH] RPC: Eliminate socket.h includes in RPC client 2005-09-23 12:38:23 -04:00
cache.c [PATCH] sunrpc: cache_register can use wrong module reference 2005-09-07 16:57:25 -07:00
clnt.c SUNRPC: Retry wrap in case of memory allocation failure. 2005-10-18 23:19:43 -07:00
pmap_clnt.c SUNRPC: fix bug in patch "portmapper doesn't need a reserved port" 2005-09-23 13:54:10 -04:00
rpc_pipe.c [PATCH] sanitize lookup_hash prototype 2005-11-09 07:56:00 -08:00
sched.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
socklib.c [PATCH] RPC: extract socket logic common to both client and server 2005-09-23 12:38:11 -04:00
stats.c [PATCH] sunrpc: print unsigned integers in stats 2005-09-07 16:57:39 -07:00
sunrpc_syms.c SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled 2005-11-04 15:39:45 -05:00
svc.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
svcauth.c [PATCH] sunrpc: cache_register can use wrong module reference 2005-09-07 16:57:25 -07:00
svcauth_unix.c [PATCH] sunrpc: cache_register can use wrong module reference 2005-09-07 16:57:25 -07:00
svcsock.c Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 2005-10-27 19:12:49 -04:00
sysctl.c SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled 2005-11-04 15:39:45 -05:00
timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
xprt.c SUNRPC: Provide a callback to allow free pages allocated during xdr encoding 2005-10-18 23:19:43 -07:00
xprtsock.c SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled 2005-11-04 15:39:45 -05:00