]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Remove unnecessary inode locking in nfs_llseek_dir()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 30 Oct 2020 21:57:29 +0000 (17:57 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 12 Nov 2020 15:41:26 +0000 (10:41 -0500)
commit44effef0af7dc2fbfd7868f15324a2c33ef7c262
tree6529c0321c2f7b73ac795057698ceb266e8c0b92
parent763e18a80d6637adef0eaf12531b187f9115ae59
NFS: Remove unnecessary inode locking in nfs_llseek_dir()

Remove the contentious inode lock, and instead provide thread safety
using the file->f_lock spinlock.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c