]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Remove rpc_authflavor_lock in favour of RCU locking
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 27 Sep 2018 17:12:44 +0000 (13:12 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:17 +0000 (15:35 -0400)
commited9c7a0538f3719399d9852c328e335c91efd89b
tree1d1a2a56b701a76caa61545969f08cdbe2d5af61
parentdd4499594216ad30ca02f7d79bc905976557c887
SUNRPC: Remove rpc_authflavor_lock in favour of RCU locking

Module removal is RCU safe by design, so we really have no need to
lock the auth_flavors[] array. Substitute a lockless scheme to
add/remove entries in the array, and then use rcu.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/auth.c