diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-14 23:08:36 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-11 05:40:30 +0200 |
commit | ab418d70e1fceda1e2824c45ba3323a1b1413507 (patch) | |
tree | f7ece30a34a089476f84afc4a95be459a5cb06bf /fs/nfs_common | |
parent | SUNRPC: Don't create an rpc_pipefs directory before rpc_clone is initialised (diff) | |
download | linux-ab418d70e1fceda1e2824c45ba3323a1b1413507.tar.xz linux-ab418d70e1fceda1e2824c45ba3323a1b1413507.zip |
SUNRPC: Optimise rpciod_up()
Instead of taking the mutex every time we just need to increment/decrement
rpciod_users, we can optmise by using atomic_inc_not_zero and
atomic_dec_and_test.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions