aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-11 04:21:24 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 14:14:19 -0400
commit63f5793351d821749979e36889f9c089c6028c83 (patch)
tree654a9e600891ccf0c70c0bbbc0a15a52743ff90e /fs/ext4/extents.c
parentceea16bf85fb46035dda1db263ca29b0e07e22ba (diff)
[PATCH] ext4 whitespace cleanups
Someone's tab key is emitting spaces. Attempt to repair some of the damage. Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r--fs/ext4/extents.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 926186a787a8..2608dce18f3e 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -1014,7 +1014,7 @@ ext4_ext_next_allocated_block(struct ext4_ext_path *path)
1014 * returns first allocated block from next leaf or EXT_MAX_BLOCK 1014 * returns first allocated block from next leaf or EXT_MAX_BLOCK
1015 */ 1015 */
1016static unsigned ext4_ext_next_leaf_block(struct inode *inode, 1016static unsigned ext4_ext_next_leaf_block(struct inode *inode,
1017 struct ext4_ext_path *path) 1017 struct ext4_ext_path *path)
1018{ 1018{
1019 int depth; 1019 int depth;
1020 1020
@@ -1097,8 +1097,8 @@ static int inline
1097ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1, 1097ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1,
1098 struct ext4_extent *ex2) 1098 struct ext4_extent *ex2)
1099{ 1099{
1100 if (le32_to_cpu(ex1->ee_block) + le16_to_cpu(ex1->ee_len) 1100 if (le32_to_cpu(ex1->ee_block) + le16_to_cpu(ex1->ee_len) !=
1101 != le32_to_cpu(ex2->ee_block)) 1101 le32_to_cpu(ex2->ee_block))
1102 return 0; 1102 return 0;
1103 1103
1104 /* 1104 /*
@@ -1113,7 +1113,7 @@ ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1,
1113 return 0; 1113 return 0;
1114#endif 1114#endif
1115 1115
1116 if (ext_pblock(ex1) + le16_to_cpu(ex1->ee_len) == ext_pblock(ex2)) 1116 if (ext_pblock(ex1) + le16_to_cpu(ex1->ee_len) == ext_pblock(ex2))
1117 return 1; 1117 return 1;
1118 return 0; 1118 return 0;
1119} 1119}
@@ -2008,9 +2008,9 @@ int ext4_ext_get_blocks(handle_t *handle, struct inode *inode,
2008 goto out2; 2008 goto out2;
2009 } 2009 }
2010 /* 2010 /*
2011 * Okay, we need to do block allocation. Lazily initialize the block 2011 * Okay, we need to do block allocation. Lazily initialize the block
2012 * allocation info here if necessary. 2012 * allocation info here if necessary.
2013 */ 2013 */
2014 if (S_ISREG(inode->i_mode) && (!EXT4_I(inode)->i_block_alloc_info)) 2014 if (S_ISREG(inode->i_mode) && (!EXT4_I(inode)->i_block_alloc_info))
2015 ext4_init_block_alloc_info(inode); 2015 ext4_init_block_alloc_info(inode);
2016 2016