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>
This commit is contained in:

committed by
Linus Torvalds

parent
0bd476e6c6
commit
5404e7e0ac
@@ -838,10 +838,10 @@ static int reiserfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode
|
||||
*/
|
||||
INC_DIR_INODE_NLINK(dir)
|
||||
|
||||
retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ ,
|
||||
old_format_only(dir->i_sb) ?
|
||||
EMPTY_DIR_SIZE_V1 : EMPTY_DIR_SIZE,
|
||||
dentry, inode, &security);
|
||||
retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */,
|
||||
old_format_only(dir->i_sb) ?
|
||||
EMPTY_DIR_SIZE_V1 : EMPTY_DIR_SIZE,
|
||||
dentry, inode, &security);
|
||||
if (retval) {
|
||||
DEC_DIR_INODE_NLINK(dir)
|
||||
goto out_failed;
|
||||
@@ -967,7 +967,7 @@ static int reiserfs_rmdir(struct inode *dir, struct dentry *dentry)
|
||||
reiserfs_update_sd(&th, inode);
|
||||
|
||||
DEC_DIR_INODE_NLINK(dir)
|
||||
dir->i_size -= (DEH_SIZE + de.de_entrylen);
|
||||
dir->i_size -= (DEH_SIZE + de.de_entrylen);
|
||||
reiserfs_update_sd(&th, dir);
|
||||
|
||||
/* prevent empty directory from getting lost */
|
||||
|
Reference in New Issue
Block a user