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)
commit83f2c45e63935a325f73bde98b1609e0976a12e0
tree6529c0321c2f7b73ac795057698ceb266e8c0b92
parent6c2190b3fcbc92cb79e39cc7e7531656b341e463
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