Skip to content

Commit 5404e7e

Browse files
Colin Ian Kingtorvalds
authored andcommitted
reiserfs: clean up several indentation issues
There are several places where code is indented incorrectly. Fix these. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent 0bd476e commit 5404e7e

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

fs/reiserfs/do_balan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ static void balance_leaf_paste_right_whole(struct tree_balance *tb,
842842
struct item_head *pasted;
843843
struct buffer_info bi;
844844

845-
buffer_info_init_right(tb, &bi);
845+
buffer_info_init_right(tb, &bi);
846846
leaf_shift_right(tb, tb->rnum[0], tb->rbytes);
847847

848848
/* append item in R[0] */

fs/reiserfs/ioctl.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,12 @@ int reiserfs_unpack(struct inode *inode, struct file *filp)
184184
}
185185

186186
/* we need to make sure nobody is changing the file size beneath us */
187-
{
188-
int depth = reiserfs_write_unlock_nested(inode->i_sb);
189-
inode_lock(inode);
190-
reiserfs_write_lock_nested(inode->i_sb, depth);
191-
}
187+
{
188+
int depth = reiserfs_write_unlock_nested(inode->i_sb);
189+
190+
inode_lock(inode);
191+
reiserfs_write_lock_nested(inode->i_sb, depth);
192+
}
192193

193194
reiserfs_write_lock(inode->i_sb);
194195

fs/reiserfs/namei.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,10 @@ static int reiserfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode
838838
*/
839839
INC_DIR_INODE_NLINK(dir)
840840

841-
retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ ,
842-
old_format_only(dir->i_sb) ?
843-
EMPTY_DIR_SIZE_V1 : EMPTY_DIR_SIZE,
844-
dentry, inode, &security);
841+
retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */,
842+
old_format_only(dir->i_sb) ?
843+
EMPTY_DIR_SIZE_V1 : EMPTY_DIR_SIZE,
844+
dentry, inode, &security);
845845
if (retval) {
846846
DEC_DIR_INODE_NLINK(dir)
847847
goto out_failed;
@@ -967,7 +967,7 @@ static int reiserfs_rmdir(struct inode *dir, struct dentry *dentry)
967967
reiserfs_update_sd(&th, inode);
968968

969969
DEC_DIR_INODE_NLINK(dir)
970-
dir->i_size -= (DEH_SIZE + de.de_entrylen);
970+
dir->i_size -= (DEH_SIZE + de.de_entrylen);
971971
reiserfs_update_sd(&th, dir);
972972

973973
/* prevent empty directory from getting lost */

0 commit comments

Comments
 (0)