• Trond Myklebust's avatar
    SUNRPC: Remove the last remnant of the BKL... · 88a9fe8c
    Trond Myklebust authored
    Somehow, this escaped the previous purge. There should be no need to keep
    any extra locks in the XDR callbacks.
    
    The NFS client XDR code only writes into private objects, whereas all reads
    of shared objects are confined to fields that do not change, such as
    filehandles...
    
    Ditto for lockd, the NFSv2/v3 client mount code, and rpcbind.
    
    The nfsd XDR code may require the BKL, but since it does a synchronous RPC
    call from a thread that already holds the lock, that issue is moot.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    88a9fe8c
auth.c 13.3 KB