diff options
author | Andy Adamson <andros@netapp.com> | 2011-02-28 20:34:11 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:41 -0500 |
commit | d6fb79d433d0a34c36bdf74eaf90857193a6261f (patch) | |
tree | bf7686b2bd65d598ef1a4e5ceaebb0432302a726 /include/linux/nfs_fs_sb.h | |
parent | d3b4c9d76738df49a7db7682c2518a0ef9f7391d (diff) |
NFSv4.1: new flag for lease time check
Data servers cannot send nfs4_proc_get_lease_time. but still need to setup
state renewal. Add the NFS_CS_CHECK_LEASE_TIME bit to indicate if the lease
time can be checked.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 0bac4176e505..c00d4ec47ec3 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -31,6 +31,7 @@ struct nfs_client { | |||
31 | #define NFS_CS_IDMAP 2 /* - idmap started */ | 31 | #define NFS_CS_IDMAP 2 /* - idmap started */ |
32 | #define NFS_CS_RENEWD 3 /* - renewd started */ | 32 | #define NFS_CS_RENEWD 3 /* - renewd started */ |
33 | #define NFS_CS_STOP_RENEW 4 /* no more state to renew */ | 33 | #define NFS_CS_STOP_RENEW 4 /* no more state to renew */ |
34 | #define NFS_CS_CHECK_LEASE_TIME 5 /* need to check lease time */ | ||
34 | struct sockaddr_storage cl_addr; /* server identifier */ | 35 | struct sockaddr_storage cl_addr; /* server identifier */ |
35 | size_t cl_addrlen; | 36 | size_t cl_addrlen; |
36 | char * cl_hostname; /* hostname of server */ | 37 | char * cl_hostname; /* hostname of server */ |