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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux