]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35f1fc2c9972883fd5060e3a1a044998f2c25e37
treee583bfe5f5af635b3db7866e57d7506acbeae2ba
parent1b4c166375ec8cadd07dbb99c4936aeb594e7e57
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