Fs: Ext2: xip.h: fixed coding style issues
PATCH 1/1 Fs: Ext2: xip.h: fixed coding style issues
Fixed coding style issues.
Signed-off-by Tommy Kurby <[email protected]>
--- fs/ext2/xip.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
fs/ext2/xip.h +4 -3
@@ -6,12 +6,13 @@*/ #ifdef CONFIG_EXT2_FS_XIP -extern void ext2_xip_verify_sb (struct super_block *); -extern int ext2_clear_xip_target (struct inode *,sector_t ); +extern void ext2_xip_verify_sb (struct super_block *); +extern int ext2_clear_xip_target (struct inode *,sector_t ); -static inline int ext2_use_xip (struct super_block *sb) +static inline int ext2_use_xip (struct super_block *sb) {struct ext2_sb_info *sbi =EXT2_SB (sb); +return (sbi->s_mount_opt &EXT2_MOUNT_XIP ); } int ext2_get_xip_mem(struct address_space *, pgoff_t, int,
Signature · 1 line
2.1.0
Quoted 3 lines · Tommy Kurby
Fixed coding style issues.
Signed-off-by Tommy Kurby <[email protected]>
Hum, I think Matthew Wilcox's patches change this area as well and they
actually also do something useful. So I prefer not to merge this trivial cleanup to not make Matthew's life unnecesarily harder.
Honza
Quoted 28 lines
--- fs/ext2/xip.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)fs/ext2/xip.h +4
-3@@ -6,12 +6,13 @@*/ #ifdef CONFIG_EXT2_FS_XIP -extern void ext2_xip_verify_sb (struct super_block *); -extern int ext2_clear_xip_target (struct inode *,sector_t ); +extern void ext2_xip_verify_sb (struct super_block *); +extern int ext2_clear_xip_target (struct inode *,sector_t ); -static inline int ext2_use_xip (struct super_block *sb) +static inline int ext2_use_xip (struct super_block *sb) {struct ext2_sb_info *sbi =EXT2_SB (sb); +return (sbi->s_mount_opt &EXT2_MOUNT_XIP ); } int ext2_get_xip_mem(struct address_space *, pgoff_t, int,Signature · 1 line
2.1.0
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR