|
@@ -7004,11 +7004,26 @@ static const struct nfs4_minor_version_ops nfs_v4_1_minor_ops = {
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
+#if defined(CONFIG_NFS_V4_2)
|
|
|
+static const struct nfs4_minor_version_ops nfs_v4_2_minor_ops = {
|
|
|
+ .minor_version = 2,
|
|
|
+ .call_sync = nfs4_call_sync_sequence,
|
|
|
+ .match_stateid = nfs41_match_stateid,
|
|
|
+ .find_root_sec = nfs41_find_root_sec,
|
|
|
+ .reboot_recovery_ops = &nfs41_reboot_recovery_ops,
|
|
|
+ .nograce_recovery_ops = &nfs41_nograce_recovery_ops,
|
|
|
+ .state_renewal_ops = &nfs41_state_renewal_ops,
|
|
|
+};
|
|
|
+#endif
|
|
|
+
|
|
|
const struct nfs4_minor_version_ops *nfs_v4_minor_ops[] = {
|
|
|
[0] = &nfs_v4_0_minor_ops,
|
|
|
#if defined(CONFIG_NFS_V4_1)
|
|
|
[1] = &nfs_v4_1_minor_ops,
|
|
|
#endif
|
|
|
+#if defined(CONFIG_NFS_V4_2)
|
|
|
+ [2] = &nfs_v4_2_minor_ops,
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
const struct inode_operations nfs4_dir_inode_operations = {
|