Commit f58d6c75 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/hpfs/dnode.c: fix suspect code indent

Fix 2 checkpatch warnings:

  WARNING: suspect code indent for conditional statements
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f3fb9e27
...@@ -545,12 +545,13 @@ static void delete_empty_dnode(struct inode *i, dnode_secno dno) ...@@ -545,12 +545,13 @@ static void delete_empty_dnode(struct inode *i, dnode_secno dno)
struct dnode *d1; struct dnode *d1;
struct quad_buffer_head qbh1; struct quad_buffer_head qbh1;
if (hpfs_sb(i->i_sb)->sb_chk) if (hpfs_sb(i->i_sb)->sb_chk)
if (up != i->i_ino) { if (up != i->i_ino) {
hpfs_error(i->i_sb, hpfs_error(i->i_sb,
"bad pointer to fnode, dnode %08x, pointing to %08x, should be %08lx", "bad pointer to fnode, dnode %08x, pointing to %08x, should be %08lx",
dno, up, (unsigned long)i->i_ino); dno, up,
return; (unsigned long)i->i_ino);
} return;
}
if ((d1 = hpfs_map_dnode(i->i_sb, down, &qbh1))) { if ((d1 = hpfs_map_dnode(i->i_sb, down, &qbh1))) {
d1->up = cpu_to_le32(up); d1->up = cpu_to_le32(up);
d1->root_dnode = 1; d1->root_dnode = 1;
...@@ -1061,8 +1062,8 @@ struct hpfs_dirent *map_fnode_dirent(struct super_block *s, fnode_secno fno, ...@@ -1061,8 +1062,8 @@ struct hpfs_dirent *map_fnode_dirent(struct super_block *s, fnode_secno fno,
hpfs_brelse4(qbh); hpfs_brelse4(qbh);
if (hpfs_sb(s)->sb_chk) if (hpfs_sb(s)->sb_chk)
if (hpfs_stop_cycles(s, dno, &c1, &c2, "map_fnode_dirent #1")) { if (hpfs_stop_cycles(s, dno, &c1, &c2, "map_fnode_dirent #1")) {
kfree(name2); kfree(name2);
return NULL; return NULL;
} }
goto go_down; goto go_down;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment