This field is set to the nfsv4 minor version for this mount. Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfs/client.c | 1 + include/linux/nfs_fs_sb.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index fe0bac9..c6e9b4e 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -1030,6 +1030,7 @@ static int nfs4_set_client(struct nfs_server *server, error = PTR_ERR(clp); goto error; } + clp->cl_minorversion = server->minorversion; error = nfs4_init_client(clp, timeparms, ip_addr, authflavour); if (error < 0) goto error_put; diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index bfc83cc..8379dd5 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -69,7 +69,8 @@ struct nfs_client { */ char cl_ipaddr[48]; unsigned char cl_id_uniquifier; -#endif + u32 cl_minorversion; +#endif /* CONFIG_NFS_V4 */ }; /* -- 1.6.0.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html