diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-06-20 13:11:01 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-06-24 18:46:57 -0400 |
commit | 6edf96097b1df34fcd332f7ee4ba120fbc1d16c3 (patch) | |
tree | 86dc9b545453c505149cc7adbe4f1eac3e5338d2 /fs/quota/quota_v2.c | |
parent | f2467b6f64da7d8446211c21f6fcd8fa10e8d948 (diff) | |
download | linux-6edf96097b1df34fcd332f7ee4ba120fbc1d16c3.tar.gz linux-6edf96097b1df34fcd332f7ee4ba120fbc1d16c3.tar.bz2 linux-6edf96097b1df34fcd332f7ee4ba120fbc1d16c3.zip |
NFS: Don't mark the data cache as invalid if it has been flushed
Now that we have functions such as nfs_write_pageuptodate() that use
the cache_validity flags to check if the data cache is valid or not,
it is a little more important to keep the flags in sync with the
state of the data cache.
In particular, we'd like to ensure that if the data cache is empty, we
don't start marking it as needing revalidation.
Reported-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/quota/quota_v2.c')
0 files changed, 0 insertions, 0 deletions