]> 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)
commit17bf5ac143d68b69b5d98406672d8d8b3dabcd9c
tree6529c0321c2f7b73ac795057698ceb266e8c0b92
parent5f2178aaf199c478013fd5f07fa5a4e2146a9227
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