SUNRPC: move bkl locking and xdr proc invocation into a common helper
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 11 Jul 2007 22:39:02 +0000 (18:39 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Jul 2007 19:21:39 +0000 (15:21 -0400)
commitbe879c4e249a8875d7129f3b0c1bb62584dafbd8
tree6d6d774ac4dd24ff280e83e1d6a65be29a6dc6f8
parente3a535e1739a9da3cc316ccdfe5cd4bf84d745ac
SUNRPC: move bkl locking and xdr proc invocation into a common helper

Since every invocation of xdr encode or decode functions takes the BKL now,
there's a lot of redundant lock_kernel/unlock_kernel pairs that we can pull
out into a common function.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xdr.h
net/sunrpc/auth.c
net/sunrpc/auth_gss/auth_gss.c