summary refs log tree commit diff
path: root/fs/befs/befs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/befs/befs.h')
-rw-r--r--fs/befs/befs.h9
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 *