Message ID | 1483736037-25111-10-git-send-email-fabf@skynet.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 > >
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)
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(-)