summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2017-01-06 21:53:57 +0100
committerJan Kara <jack@suse.cz>2017-01-10 11:55:11 +0100
commit54bb60d53114b83473ba1c622be4cca9533b9827 (patch)
treec6507b92fef3b9e884a2e2eff2aa045582be6e0a
parentb31c9ed99ed17f9572ee8babf2e89f1f002a7cce (diff)
downloadop-kernel-dev-54bb60d53114b83473ba1c622be4cca9533b9827.zip
op-kernel-dev-54bb60d53114b83473ba1c622be4cca9533b9827.tar.gz
udf: merge module informations in super.c
Move all module attributes at the end of one file like other FS. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r--fs/udf/inode.c4
-rw-r--r--fs/udf/super.c9
2 files changed, 6 insertions, 7 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index b6c652d..2296c87 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -43,10 +43,6 @@
#include "udf_i.h"
#include "udf_sb.h"
-MODULE_AUTHOR("Ben Fennema");
-MODULE_DESCRIPTION("Universal Disk Format Filesystem");
-MODULE_LICENSE("GPL");
-
#define EXTENT_MERGE_SIZE 5
static umode_t udf_convert_permissions(struct fileEntry *);
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 967ad87..9256117 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -264,9 +264,6 @@ static void __exit exit_udf_fs(void)
destroy_inodecache();
}
-module_init(init_udf_fs)
-module_exit(exit_udf_fs)
-
static int udf_sb_alloc_partition_maps(struct super_block *sb, u32 count)
{
struct udf_sb_info *sbi = UDF_SB(sb);
@@ -2500,3 +2497,9 @@ static unsigned int udf_count_free(struct super_block *sb)
return accum;
}
+
+MODULE_AUTHOR("Ben Fennema");
+MODULE_DESCRIPTION("Universal Disk Format Filesystem");
+MODULE_LICENSE("GPL");
+module_init(init_udf_fs)
+module_exit(exit_udf_fs)
OpenPOWER on IntegriCloud