Skip to content
Commit fc0f684c authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Remove BKL from NFS lookup code



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>
parent fc81af53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment