commit | 9413a1a1bf5d58db610e3d9ba500f4150afa55ad | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Dec 19 11:36:41 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Dec 19 17:29:58 2016 -0500 |
tree | 8e06ad6dd9da0c943d9e5cdeb4d841b51787257e | |
parent | a5f925bccce7b0dc083f0c5a8652600881cc38ab [diff] |
NFSv4: Also ask for attributes when downgrading to a READ-only state If we're downgrading from a READ+WRITE mode to a READ-only mode, then ask for cache consistency attributes so that we avoid the revalidation in nfs_close_context() Fixes: 3947b74d0f9d ("NFSv4: Don't request a GETATTR on open_downgrade.") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>