ext4: reduce one "if" comparison in ext4_dirhash()
authorCong Ding <dinggnu@gmail.com>
Sat, 2 Feb 2013 03:33:21 +0000 (22:33 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 Feb 2013 03:33:21 +0000 (22:33 -0500)
commit0e79537d30f9dd66ccef70f1c7571594088e30be
tree584573b9c36dde6f07756a6d57cb8c7065c959fd
parentf1167009711032b0d747ec89a632a626c901a1ad
ext4: reduce one "if" comparison in ext4_dirhash()

It is unnecessary to check i<4 after the loop; just do it before the
break.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/hash.c