Skip to content
  • Trond Myklebust's avatar
    NFS: Remove BKL from NFS lookup code · fc0f684c
    Trond Myklebust authored
    
    
    All dentry-related operations are already BKL-safe, since they are
    protected by the VFS locking. No extra locks should be needed in the NFS
    code.
    
    In the case of nfs_revalidate_inode(), we're only doing an attribute
    update (protected by the inode->i_lock).
    In the case of nfs_lookup(), we're instantiating a new dentry, so there
    should be no contention possible until after we call d_materialise_unique.
    
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    fc0f684c