LU-12400 ptlrpc: Sun RPC changes for RCU locking
In kernel 4.20 SUNRPC cache_detail->hash_lock changed to spinlock_t
Now that the reader functions are all RCU protected, use a regular
spinlock rather than a reader/writer lock.
Linux-commit:
1863d77f15da0addcd293a1719fa5d3ef8cde3ca
Test-Parameters: trivial
Cray-bug-id: LUS-7600
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: If0df38337d5a2bb0ac4b8cb645dbe89f65e0f352
Reviewed-on: https://review.whamcloud.com/35499
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>