ext3/4: Fix loop index in do_split() so it is signed
commit59e315b4c410b00a9acd0f24a00dbadbe81ce692
authorTheodore Ts'o <tytso@mit.edu>
Sat, 6 Dec 2008 21:58:39 +0000 (6 16:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 6 Dec 2008 21:58:39 +0000 (6 16:58 -0500)
treed19e7b45d98c42c6f94cb5aa292e2efea44244f5
parentf99b25897a86fcfff9140396a97261ae65fed872
ext3/4: Fix loop index in do_split() so it is signed

This fixes a gcc warning but it doesn't appear able to result in a
failure, since the primary way the loop is exited is the first
conditional in the for loop, and at least for a consistent filesystem,
the signed/unsigned should in practice never be exposed.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext3/namei.c
fs/ext4/namei.c