NFS: Allow optimisation of lseek(fd, SEEK_CUR, 0) on directories
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 27 Jun 2018 20:25:40 +0000 (16:25 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:25 +0000 (16:25 -0400)
commitb2b1ff3da6b27285c725eeb6f4c274da0a8e6a60
treee583bfe5f5af635b3db7866e57d7506acbeae2ba
parent411ae722d10a6d4eece758877eb5f395b35f6e9d
NFS: Allow optimisation of lseek(fd, SEEK_CUR, 0) on directories

There should be no need to grab the inode lock if we're only reading
the file offset.

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