mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
411ae722d1
commit
b2b1ff3da6
1 changed files with 16 additions and 10 deletions
26
fs/nfs/dir.c
26
fs/nfs/dir.c
Loading…
Add table
Add a link
Reference in a new issue