]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file was created
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 11 Jan 2017 13:47:00 +0000 (08:47 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 12 Jan 2017 20:51:17 +0000 (15:51 -0500)
commitf2512fcbca4da5cfe56fcb517687dd39570b2512
tree955be8de3632ee1172f8dc60b324156046df4e5d
parent9a61c9960e2444bc452da3ccbfb3e2fc5b3bbc22
NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file was created

We don't want to invalidate the directory attribute and data cache unless we
know that a file was created, or the change attribute differs from the one
in our cache.

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