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:
Colin Ian King
2020-04-06 20:11:46 -07:00
committed by Linus Torvalds
parent 0bd476e6c6
commit 5404e7e0ac
3 changed files with 12 additions and 11 deletions

View File

@@ -184,11 +184,12 @@ int reiserfs_unpack(struct inode *inode, struct file *filp)
} }
/* we need to make sure nobody is changing the file size beneath us */ /* we need to make sure nobody is changing the file size beneath us */
{ {
int depth = reiserfs_write_unlock_nested(inode->i_sb); int depth = reiserfs_write_unlock_nested(inode->i_sb);
inode_lock(inode); inode_lock(inode);
reiserfs_write_lock_nested(inode->i_sb, depth); reiserfs_write_lock_nested(inode->i_sb, depth);
} }
reiserfs_write_lock(inode->i_sb); reiserfs_write_lock(inode->i_sb);

View File

@@ -838,7 +838,7 @@ static int reiserfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode
*/ */
INC_DIR_INODE_NLINK(dir) INC_DIR_INODE_NLINK(dir)
retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ , retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */,
old_format_only(dir->i_sb) ? old_format_only(dir->i_sb) ?
EMPTY_DIR_SIZE_V1 : EMPTY_DIR_SIZE, EMPTY_DIR_SIZE_V1 : EMPTY_DIR_SIZE,
dentry, inode, &security); dentry, inode, &security);