diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-15 23:56:30 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-17 16:38:59 (GMT) |
commit | a8de240a9074b72b156d9e6d53f00076e6cd5f03 (patch) | |
tree | 9436ca858870ce89af75703b61a2c25889db354e /include | |
parent | e020c6800c9621a77223bf2c1ff68180e41e8ebf (diff) | |
download | linux-fsl-qoriq-a8de240a9074b72b156d9e6d53f00076e6cd5f03.tar.xz |
SUNRPC: Convert struct rpc_xprt to use atomic_t counters
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index bef0f53..a0f998c 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h @@ -12,7 +12,6 @@ #include <linux/uio.h> #include <linux/socket.h> #include <linux/in.h> -#include <linux/kref.h> #include <linux/ktime.h> #include <linux/sunrpc/sched.h> #include <linux/sunrpc/xdr.h> @@ -146,7 +145,7 @@ enum xprt_transports { }; struct rpc_xprt { - struct kref kref; /* Reference count */ + atomic_t count; /* Reference count */ struct rpc_xprt_ops * ops; /* transport methods */ const struct rpc_timeout *timeout; /* timeout parms */ |