diff options
author | J. Bruce Fields <bfields@redhat.com> | 2018-04-25 13:26:23 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-06-17 10:41:31 -0400 |
commit | a85857633b04d57f4524cca0a2bfaf87b2543f9f (patch) | |
tree | 3ee6fe22387608309977b5cc7576107ddae67ff7 /fs/nfsd/nfsd.h | |
parent | 16945141c3567bb8561de3677de1ec657675bb15 (diff) | |
download | linux-a85857633b04d57f4524cca0a2bfaf87b2543f9f.tar.gz linux-a85857633b04d57f4524cca0a2bfaf87b2543f9f.tar.bz2 linux-a85857633b04d57f4524cca0a2bfaf87b2543f9f.zip |
nfsd4: support change_attr_type attribute
The change attribute is what is used by clients to revalidate their
caches. Our server may use i_version or ctime for that purpose. Those
choices behave slightly differently, and it may be useful to the client
to know which we're using. This attribute tells the client that. The
Linux client doesn't yet use this attribute yet, though.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r-- | fs/nfsd/nfsd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 3fce905d0365..066899929863 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h @@ -360,6 +360,7 @@ void nfsd_lockd_shutdown(void); #define NFSD4_2_SUPPORTED_ATTRS_WORD2 \ (NFSD4_1_SUPPORTED_ATTRS_WORD2 | \ + FATTR4_WORD2_CHANGE_ATTR_TYPE | \ FATTR4_WORD2_MODE_UMASK | \ NFSD4_2_SECURITY_ATTRS) |