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

reiserfs: clean up several indentation issues

There are several places where code is indented incorrectly. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200325135018.113431-1-colin.king@canonical.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Colin Ian King and committed by
Linus Torvalds
5404e7e0 0bd476e6

+12 -11
+1 -1
fs/reiserfs/do_balan.c
··· 842 842 struct item_head *pasted; 843 843 struct buffer_info bi; 844 844 845 - buffer_info_init_right(tb, &bi); 845 + buffer_info_init_right(tb, &bi); 846 846 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); 847 847 848 848 /* append item in R[0] */
+6 -5
fs/reiserfs/ioctl.c
··· 184 184 } 185 185 186 186 /* 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 + } 192 193 193 194 reiserfs_write_lock(inode->i_sb); 194 195
+5 -5
fs/reiserfs/namei.c
··· 838 838 */ 839 839 INC_DIR_INODE_NLINK(dir) 840 840 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); 845 845 if (retval) { 846 846 DEC_DIR_INODE_NLINK(dir) 847 847 goto out_failed; ··· 967 967 reiserfs_update_sd(&th, inode); 968 968 969 969 DEC_DIR_INODE_NLINK(dir) 970 - dir->i_size -= (DEH_SIZE + de.de_entrylen); 970 + dir->i_size -= (DEH_SIZE + de.de_entrylen); 971 971 reiserfs_update_sd(&th, dir); 972 972 973 973 /* prevent empty directory from getting lost */