[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1411429600-4148-1-git-send-email-tommykurby91@gmail.com>
Date: Tue, 23 Sep 2014 01:46:40 +0200
From: Tommy Kurby <tommykurby91@...il.com>
To: jack@...e.cz
Cc: linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
Tommy Kurby <tommykurby91@...il.com>
Subject: [PATCH] Fs: Ext2: xip.h: fixed coding style issues
Fixed coding style issues.
Signed-off-by: Tommy Kurby <tommykurby91@...il.com>
---
fs/ext2/xip.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/fs/ext2/xip.h b/fs/ext2/xip.h
index 18b34d2..57b479b 100644
--- a/fs/ext2/xip.h
+++ b/fs/ext2/xip.h
@@ -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,
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists