Commit de745485 authored by Eric Biggers's avatar Eric Biggers Committed by Theodore Ts'o
Browse files

ext4: add missing braces in ext4_ext_drop_refs()



For clarity, add braces to the loop in ext4_ext_drop_refs().

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20191231180444.46586-9-ebiggers@kernel.org


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
parent 6e89bbb7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -690,12 +690,13 @@ void ext4_ext_drop_refs(struct ext4_ext_path *path)
	if (!path)
		return;
	depth = path->p_depth;
	for (i = 0; i <= depth; i++, path++)
	for (i = 0; i <= depth; i++, path++) {
		if (path->p_bh) {
			brelse(path->p_bh);
			path->p_bh = NULL;
		}
	}
}

/*
 * ext4_ext_binsearch_idx: