summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2003-02-20 21:44:13 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-20 21:44:13 -0800
commit6fe56a9ff8a854dd27ba9bfe4f52d1c2cd0b6b8a (patch)
treeb9dd043b0a921cb8449fed396b658aed5880164b /include/linux/sunrpc
parent3d3f22bee87945d0590568873e93268a2639e7db (diff)
[PATCH] try_module_get(THIS_MODULE) is bogus
In most cases the fix is to add an struct module * member to the operations vector instead and manipulate the refcounts in the callers context. For the ALSA cases it was completly superflous (when will people get it that using an exported symbol will make it's module unloadable?..)
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/auth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index a1ed52af2895..5fd520bb6c47 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -84,6 +84,7 @@ struct rpc_auth {
* Client authentication ops
*/
struct rpc_authops {
+ struct module *owner;
rpc_authflavor_t au_flavor; /* flavor (RPC_AUTH_*) */
#ifdef RPC_DEBUG
char * au_name;