]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: fix filecache lookup
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 18:18:03 +0000 (13:18 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 22 Jan 2020 21:25:01 +0000 (16:25 -0500)
commit623a9d05d3dacd9fed7ed34f83b147e698b49a3d
tree4e5ed40f9b2f92472307deb058a7a00f2ba78de7
parent1d9e255caa62ba2a4033b3390bf91e2fb60ae932
nfsd: fix filecache lookup

If the lookup keeps finding a nfsd_file with an unhashed open file,
then retry once only.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org
Fixes: a773ac40fe37 "nfsd: add a new struct file caching facility to nfsd"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/filecache.c