Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

befs: replace typedef befs_mount_options 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>

authored by

Fabian Frederick and committed by
Linus Torvalds
09ad0eae a737e835

+5 -5
+3 -3
fs/befs/befs.h
··· 19 19 * BeFS in memory structures 20 20 */ 21 21 22 - typedef struct befs_mount_options { 22 + struct befs_mount_options { 23 23 kgid_t gid; 24 24 kuid_t uid; 25 25 int use_gid; 26 26 int use_uid; 27 27 int debug; 28 28 char *iocharset; 29 - } befs_mount_options; 29 + }; 30 30 31 31 typedef struct befs_sb_info { 32 32 u32 magic1; ··· 52 52 befs_inode_addr indices; 53 53 u32 magic3; 54 54 55 - befs_mount_options mount_opts; 55 + struct befs_mount_options mount_opts; 56 56 struct nls_table *nls; 57 57 58 58 } befs_sb_info;
+2 -2
fs/befs/linuxvfs.c
··· 51 51 static void befs_put_super(struct super_block *); 52 52 static int befs_remount(struct super_block *, int *, char *); 53 53 static int befs_statfs(struct dentry *, struct kstatfs *); 54 - static int parse_options(char *, befs_mount_options *); 54 + static int parse_options(char *, struct befs_mount_options *); 55 55 56 56 static const struct super_operations befs_sops = { 57 57 .alloc_inode = befs_alloc_inode, /* allocate a new inode */ ··· 669 669 }; 670 670 671 671 static int 672 - parse_options(char *options, befs_mount_options * opts) 672 + parse_options(char *options, struct befs_mount_options *opts) 673 673 { 674 674 char *p; 675 675 substring_t args[MAX_OPT_ARGS];