KVM: SVM: Add support for EFER write traps for an SEV-ES guest
[linux-2.6-microblaze.git] / fs / nfs / nfs4super.c
index 0c1ab84..93f5c16 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/mount.h>
 #include <linux/nfs4_mount.h>
 #include <linux/nfs_fs.h>
+#include <linux/nfs_ssc.h>
 #include "delegation.h"
 #include "internal.h"
 #include "nfs4_fs.h"
@@ -279,6 +280,9 @@ static int __init init_nfs_v4(void)
        if (err)
                goto out2;
 
+#ifdef CONFIG_NFS_V4_2
+       nfs42_ssc_register_ops();
+#endif
        register_nfs_version(&nfs_v4);
        return 0;
 out2:
@@ -297,6 +301,7 @@ static void __exit exit_nfs_v4(void)
        unregister_nfs_version(&nfs_v4);
 #ifdef CONFIG_NFS_V4_2
        nfs4_xattr_cache_exit();
+       nfs42_ssc_unregister_ops();
 #endif
        nfs4_unregister_sysctl();
        nfs_idmap_quit();