]> 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)
commit5fb5c5d77d6d2406f344f1049d04a591fa311553
tree955be8de3632ee1172f8dc60b324156046df4e5d
parentfdee92381e6cadfb1b4a32051bd727592e24f5e7
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