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)
commit075c8c1b17b2ee9a42eb834a5b731b9f9906d95a
treee583bfe5f5af635b3db7866e57d7506acbeae2ba
parentff7f657ba1a8635020a9e4960d845361600f62b7
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