Skip to content

Commit

Permalink
udf: merge module informations in super.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and Jan Kara committed Jan 10, 2017
1 parent b31c9ed commit 54bb60d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 0 additions & 4 deletions fs/udf/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down
9 changes: 6 additions & 3 deletions fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)

0 comments on commit 54bb60d

Please sign in to comment.