]> 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)
commit7f6e887a74116ff4a10664f4f164125eb03a0863
tree13ec7187d0b1bdc3c01ed59af91528b434ce9b13
parent8a9d99520c17c557e8eba8e3fb857089f0033021
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: c3b4e3375e04 ("NFS: Don't refresh attributes with mounted-on-file...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c