]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 17 Dec 2016 00:48:09 +0000 (19:48 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:29 +0000 (17:29 -0500)
commit44729cad6316c48f6fd96486f5cfce5ca9228b71
treefdbd1b88f08b93ded2902009ef4baca07b4688d7
parent79d4927f4efdf296fc2e3f42451ec8f1f12cc071
NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN

DELEGRETURN will always carry a reference to the inode except when
the latter is being freed, so let's ensure that we always use that
inode information to ensure close-to-open cache consistency, even
when the DELEGRETURN call is asynchronous.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c