Skip to content

Commit

Permalink
fs: exfat: fix compilation on < v3.9
Browse files Browse the repository at this point in the history
MODULE_ALIAS_FS macro was introduced with v3.9.

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
Change-Id: Ia864f1b5410874adc79fa213b22ff558578810e7
  • Loading branch information
arter97 authored and Khusika Dhamar Gusti committed Oct 9, 2019
1 parent 53e80ba commit 4c5c6a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/exfat/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -3861,7 +3861,9 @@ static void __exit exit_exfat_fs(void)
module_init(init_exfat_fs);
module_exit(exit_exfat_fs);

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
MODULE_ALIAS_FS("exfat");
#endif
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("FAT/exFAT filesystem support");
MODULE_AUTHOR("Samsung Electronics Co., Ltd.");

0 comments on commit 4c5c6a5

Please sign in to comment.