OSDN Git Service

NFSv4: Just don't cache negative dentries on case insensitive servers
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 17 Dec 2021 20:36:55 +0000 (15:36 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 6 Jan 2022 19:00:20 +0000 (14:00 -0500)
commit98ca3ee60b9e4b039cc3ef21a169e775afa9bd0c
tree78a6918619b8150d5c2c3ecb6489433b35616cf9
parent1ab5be4ac5b1c9ce39ce1037c45b68d2ce6eede0
NFSv4: Just don't cache negative dentries on case insensitive servers

If the directory contents change, we cannot rely on the negative dentry
being cacheable.

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