btrfs-progs: fix compiler warning
authorChristian Hesse <mail@eworm.de>
Tue, 3 Jun 2014 11:29:19 +0000 (13:29 +0200)
committerDavid Sterba <dsterba@suse.cz>
Tue, 18 Nov 2014 17:25:58 +0000 (18:25 +0100)
commit5bfc3fea8188ca013881299c1a50d3e6402fc7be
tree061615fe1d3601311c8d395f93670f3c64776bd8
parent5ebf59ff5852dd4f37d99ab4e49fef1c579d6665
btrfs-progs: fix compiler warning

gcc 4.9.0 gives a warning: array subscript is above array bounds

Checking for "greater or equal" instead of just "equal" fixes this.

The warning is a false positive, appears with -ftree-vrp, but we'd
rather fix it to avoid noise during build.

http://www.mail-archive.com/linux-btrfs%40vger.kernel.org/msg34338.html

Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-restore.c