diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-04-16 12:46:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:03 -0400 |
commit | 038428fcf7f05e5da46de617831a8230e1a2551d (patch) | |
tree | 5407218f36088da19b62a69de5a5979dc9807cad /fs/befs/befs.h | |
parent | 09ad0eae5ed0f354df892b1cfb868338dc578c5c (diff) |
befs: replace typedef befs_sb_info by structure
See Documenation/CodingStyle
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/befs/befs.h')
-rw-r--r-- | fs/befs/befs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h index d4751affb222..11461abfda11 100644 --- a/fs/befs/befs.h +++ b/fs/befs/befs.h @@ -28,7 +28,7 @@ struct befs_mount_options { char *iocharset; }; -typedef struct befs_sb_info { +struct befs_sb_info { u32 magic1; u32 block_size; u32 block_shift; @@ -54,8 +54,7 @@ typedef struct befs_sb_info { struct befs_mount_options mount_opts; struct nls_table *nls; - -} befs_sb_info; +}; typedef struct befs_inode_info { u32 i_flags; @@ -105,10 +104,10 @@ void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *); /* Gets a pointer to the private portion of the super_block * structure from the public part */ -static inline befs_sb_info * +static inline struct befs_sb_info * BEFS_SB(const struct super_block *super) { - return (befs_sb_info *) super->s_fs_info; + return (struct befs_sb_info *) super->s_fs_info; } static inline befs_inode_info * |