summaryrefslogtreecommitdiffstats
path: root/fs/befs/befs.h
diff options
context:
space:
mode:
authorFabian Frederick2015-04-16 21:46:23 +0200
committerLinus Torvalds2015-04-17 15:04:03 +0200
commitf8ccad2164d406e60c0fa91206258f608fdb0148 (patch)
tree61dda6be1e6cd5882e74e02904e943f2c5e8585f /fs/befs/befs.h
parentbefs: replace typedef befs_sb_info by structure (diff)
downloadkernel-qcow2-linux-f8ccad2164d406e60c0fa91206258f608fdb0148.tar.gz
kernel-qcow2-linux-f8ccad2164d406e60c0fa91206258f608fdb0148.tar.xz
kernel-qcow2-linux-f8ccad2164d406e60c0fa91206258f608fdb0148.zip
befs: replace typedef befs_inode_info by structure
See Documentation/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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h
index 11461abfda11..1fead8d56a98 100644
--- a/fs/befs/befs.h
+++ b/fs/befs/befs.h
@@ -56,7 +56,7 @@ struct befs_sb_info {
struct nls_table *nls;
};
-typedef struct befs_inode_info {
+struct befs_inode_info {
u32 i_flags;
u32 i_type;
@@ -70,8 +70,7 @@ typedef struct befs_inode_info {
} i_data;
struct inode vfs_inode;
-
-} befs_inode_info;
+};
enum befs_err {
BEFS_OK,
@@ -110,7 +109,7 @@ BEFS_SB(const struct super_block *super)
return (struct befs_sb_info *) super->s_fs_info;
}
-static inline befs_inode_info *
+static inline struct befs_inode_info *
BEFS_I(const struct inode *inode)
{
return list_entry(inode, struct befs_inode_info, vfs_inode);