lkml.org 
[lkml]   [2017]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/12 linux-next] udf: merge module informations in super.c
On Fri 06-01-17 21:53:57, Fabian Frederick wrote:
> Move all module attributes at the end of one file like other FS.
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>

Thanks. Applied.

Honza

> ---
> 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
>
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR

\
 
 \ /
  Last update: 2017-01-10 11:56    [W:0.192 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site