• T
    SUNRPC: Remove the last remnant of the BKL... · 88a9fe8c
    Trond Myklebust 提交于
    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: NTrond Myklebust <Trond.Myklebust@netapp.com>
    88a9fe8c
xdr.h 6.9 KB