device.h: move 'struct driver' stuff out to device/driver.h
[sfrench/cifs-2.6.git] / include / linux / nfs_fs_sb.h
index a87fe854f0083229a19167e65993111a79482084..c176f705bf98f025d0e68596f30abdf75c41b790 100644 (file)
@@ -45,6 +45,9 @@ struct nfs_client {
 #define NFS_CS_INFINITE_SLOTS  3               /* - don't limit TCP slots */
 #define NFS_CS_NO_RETRANS_TIMEOUT      4       /* - Disable retransmit timeouts */
 #define NFS_CS_TSM_POSSIBLE    5               /* - Maybe state migration */
+#define NFS_CS_NOPING          6               /* - don't ping on connect */
+#define NFS_CS_DS              7               /* - Server is a DS */
+#define NFS_CS_REUSEPORT       8               /* - reuse src port on reconnect */
        struct sockaddr_storage cl_addr;        /* server identifier */
        size_t                  cl_addrlen;
        char *                  cl_hostname;    /* hostname of server */
@@ -171,7 +174,7 @@ struct nfs_server {
 
        struct nfs_fsid         fsid;
        __u64                   maxfilesize;    /* maximum file size */
-       struct timespec         time_delta;     /* smallest time granularity */
+       struct timespec64       time_delta;     /* smallest time granularity */
        unsigned long           mount_time;     /* when this fs was mounted */
        struct super_block      *super;         /* VFS super block */
        dev_t                   s_dev;          /* superblock dev numbers */
@@ -276,5 +279,6 @@ struct nfs_server {
 #define NFS_CAP_COPY           (1U << 24)
 #define NFS_CAP_OFFLOAD_CANCEL (1U << 25)
 #define NFS_CAP_LAYOUTERROR    (1U << 26)
+#define NFS_CAP_COPY_NOTIFY    (1U << 27)
 
 #endif