diff options
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 17b32b722457..2f8a29db0f1b 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -294,6 +294,7 @@ struct file_system_type nfs_fs_type = { | |||
294 | .kill_sb = nfs_kill_super, | 294 | .kill_sb = nfs_kill_super, |
295 | .fs_flags = FS_RENAME_DOES_D_MOVE|FS_BINARY_MOUNTDATA, | 295 | .fs_flags = FS_RENAME_DOES_D_MOVE|FS_BINARY_MOUNTDATA, |
296 | }; | 296 | }; |
297 | MODULE_ALIAS_FS("nfs"); | ||
297 | EXPORT_SYMBOL_GPL(nfs_fs_type); | 298 | EXPORT_SYMBOL_GPL(nfs_fs_type); |
298 | 299 | ||
299 | struct file_system_type nfs_xdev_fs_type = { | 300 | struct file_system_type nfs_xdev_fs_type = { |
@@ -333,6 +334,8 @@ struct file_system_type nfs4_fs_type = { | |||
333 | .kill_sb = nfs_kill_super, | 334 | .kill_sb = nfs_kill_super, |
334 | .fs_flags = FS_RENAME_DOES_D_MOVE|FS_BINARY_MOUNTDATA, | 335 | .fs_flags = FS_RENAME_DOES_D_MOVE|FS_BINARY_MOUNTDATA, |
335 | }; | 336 | }; |
337 | MODULE_ALIAS_FS("nfs4"); | ||
338 | MODULE_ALIAS("nfs4"); | ||
336 | EXPORT_SYMBOL_GPL(nfs4_fs_type); | 339 | EXPORT_SYMBOL_GPL(nfs4_fs_type); |
337 | 340 | ||
338 | static int __init register_nfs4_fs(void) | 341 | static int __init register_nfs4_fs(void) |
@@ -2717,6 +2720,5 @@ module_param(send_implementation_id, ushort, 0644); | |||
2717 | MODULE_PARM_DESC(send_implementation_id, | 2720 | MODULE_PARM_DESC(send_implementation_id, |
2718 | "Send implementation ID with NFSv4.1 exchange_id"); | 2721 | "Send implementation ID with NFSv4.1 exchange_id"); |
2719 | MODULE_PARM_DESC(nfs4_unique_id, "nfs_client_id4 uniquifier string"); | 2722 | MODULE_PARM_DESC(nfs4_unique_id, "nfs_client_id4 uniquifier string"); |
2720 | MODULE_ALIAS("nfs4"); | ||
2721 | 2723 | ||
2722 | #endif /* CONFIG_NFS_V4 */ | 2724 | #endif /* CONFIG_NFS_V4 */ |