diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-10 01:39:12 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-11 05:40:29 +0200 |
commit | 848f1fe6be2e290691bb6c13cbb8fd92bd0cfaab (patch) | |
tree | d653340b5e0c8c6ce393e67b11d8958fab4b05e4 /include | |
parent | SUNRPC: Convert rpc_clnt->cl_users to a kref (diff) | |
download | linux-848f1fe6be2e290691bb6c13cbb8fd92bd0cfaab.tar.xz linux-848f1fe6be2e290691bb6c13cbb8fd92bd0cfaab.zip |
SUNRPC: Kill rpc_clnt->cl_dead
Its use is at best racy, and there is only one user (lockd), which has
additional locking that makes the whole thing redundant.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 003d8ea70c19..ab3ef6d629a7 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h @@ -45,8 +45,7 @@ struct rpc_clnt { cl_intr : 1,/* interruptible */ cl_discrtry : 1,/* disconnect before retry */ cl_autobind : 1,/* use getport() */ - cl_oneshot : 1,/* dispose after use */ - cl_dead : 1;/* abandoned */ + cl_oneshot : 1;/* dispose after use */ struct rpc_rtt * cl_rtt; /* RTO estimator data */ |