summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/ioctl.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-04-06 20:11:46 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-07 10:43:44 -0700
commit5404e7e0ac0cd03b83dd2476155254ee1e50529f (patch)
tree0cc3cb3f864639ae16e4f6160c14a0026d9a25a6 /fs/reiserfs/ioctl.c
parent0bd476e6c67190b5eb7b6e105c8db8ff61103281 (diff)
downloadlinux-stable-5404e7e0ac0cd03b83dd2476155254ee1e50529f.tar.gz
linux-stable-5404e7e0ac0cd03b83dd2476155254ee1e50529f.tar.bz2
linux-stable-5404e7e0ac0cd03b83dd2476155254ee1e50529f.zip
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>
Diffstat (limited to 'fs/reiserfs/ioctl.c')
-rw-r--r--fs/reiserfs/ioctl.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/reiserfs/ioctl.c b/fs/reiserfs/ioctl.c
index 45e1a5d11af3..adb21bea3d60 100644
--- a/fs/reiserfs/ioctl.c
+++ b/fs/reiserfs/ioctl.c
@@ -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 */
-{
- int depth = reiserfs_write_unlock_nested(inode->i_sb);
- inode_lock(inode);
- reiserfs_write_lock_nested(inode->i_sb, depth);
-}
+ {
+ int depth = reiserfs_write_unlock_nested(inode->i_sb);
+
+ inode_lock(inode);
+ reiserfs_write_lock_nested(inode->i_sb, depth);
+ }
reiserfs_write_lock(inode->i_sb);