]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix inode fileid checks in attribute revalidation code
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 28 Aug 2019 15:26:13 +0000 (11:26 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 2 Sep 2019 17:10:19 +0000 (13:10 -0400)
commitf75463b591e33087ca3ab0908e0aaad3af36a938
tree13ec7187d0b1bdc3c01ed59af91528b434ce9b13
parent19152f209ff55724b5bb914493ac152164fcbf29
NFS: Fix inode fileid checks in attribute revalidation code

We want to throw out the attrbute if it refers to the mounted on fileid,
and not the real fileid. However we do not want to block cache consistency
updates from NFSv4 writes.

Reported-by: Murphy Zhou <jencce.kernel@gmail.com>
Fixes: 9edac080df14 ("NFS: Don't refresh attributes with mounted-on-file...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c