NFS: Update MNT and MNT3 reply decoding functions
[linux-block.git] / fs / nfs / internal.h
index e4d6a8348adf5178a8d7d63b85a96fe22e0d129b..10cf1110df481892b09298baf5765874909ff0df 100644 (file)
@@ -29,6 +29,12 @@ struct nfs_clone_mount {
        rpc_authflavor_t authflavor;
 };
 
+/*
+ * Note: RFC 1813 doesn't limit the number of auth flavors that
+ * a server can return, so make something up.
+ */
+#define NFS_MAX_SECFLAVORS     (12)
+
 /*
  * In-kernel mount arguments
  */
@@ -77,6 +83,8 @@ struct nfs_mount_request {
        unsigned short          protocol;
        struct nfs_fh           *fh;
        int                     noresvport;
+       unsigned int            *auth_flav_len;
+       rpc_authflavor_t        *auth_flavs;
 };
 
 extern int nfs_mount(struct nfs_mount_request *info);