Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1553118

[PATCH 09/12 linux-next] udf: merge module informations in super.c

From Fabian Frederick <fabf@skynet.be>
Newsgroups linux.kernel
Subject [PATCH 09/12 linux-next] udf: merge module informations in super.c
Date 2017-01-06 22:00 +0100
Message-ID <sWJMd-7eR-27@gated-at.bofh.it> (permalink)
References <sWJMd-7eR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Move all module attributes at the end of one file like other FS.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 fs/udf/inode.c | 4 ----
 fs/udf/super.c | 9 ++++++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index 2327f72..47638eb 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)
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/12 linux-next] udf: clean-up Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
  [PATCH 09/12 linux-next] udf: merge module informations in super.c Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 09/12 linux-next] udf: merge module informations in  super.c Jan Kara <jack@suse.cz> - 2017-01-10 12:00 +0100
  [PATCH 04/12 linux-next] udf: remove unneeded line break Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 04/12 linux-next] udf: remove unneeded line break Jan Kara <jack@suse.cz> - 2017-01-10 11:40 +0100
  [PATCH 05/12 linux-next] udf: remove empty condition Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 05/12 linux-next] udf: remove empty condition Jan Kara <jack@suse.cz> - 2017-01-10 11:40 +0100
  [PATCH 08/12 linux-next] udf: remove next_epos from udf_update_extent_cache() Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 08/12 linux-next] udf: remove next_epos from  udf_update_extent_cache() Jan Kara <jack@suse.cz> - 2017-01-10 12:00 +0100
  [PATCH 01/12 linux-next] udf: use __packed instead of __attribute__ ((packed)) Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 01/12 linux-next] udf: use __packed instead of  __attribute__ ((packed)) Jan Kara <jack@suse.cz> - 2017-01-10 11:40 +0100
  [PATCH 02/12 linux-next] udf: use pointer for kernel_long_ad argument Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 02/12 linux-next] udf: use pointer for kernel_long_ad  argument Jan Kara <jack@suse.cz> - 2017-01-10 11:40 +0100
  [PATCH 10/12 linux-next] udf: atomically read inode size Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    [PATCH 11/12 linux-next] udf: replace 0xFFFFFFFF by ~0 Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 10/12 linux-next] udf: atomically read inode size Jan Kara <jack@suse.cz> - 2017-01-10 12:00 +0100
  [PATCH 07/12 linux-next] udf: store allocation offset in udf_prealloc_extents() Fabian Frederick <fabf@skynet.be> - 2017-01-06 22:00 +0100
    Re: [PATCH 07/12 linux-next] udf: store allocation offset in  udf_prealloc_extents() Jan Kara <jack@suse.cz> - 2017-01-10 12:00 +0100
  Re: [PATCH 00/12 linux-next] udf: clean-up Jan Kara <jack@suse.cz> - 2017-01-10 12:10 +0100

csiph-web