ore: signedness bug in _sp2d_min_pg()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Oct 2012 08:28:45 +0000 (11:28 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Wed, 3 Oct 2012 20:51:51 +0000 (13:51 -0700)
commit74b217d0d3a46132fb61adab91d53c57e0d8f68a
treee4a5adddbcbac3023ffe8d9876b8839f82bcecdf
parentb8017d2957fb0ebf0c2aa91d48f2465f6f799738
ore: signedness bug in _sp2d_min_pg()

This for loop doesn't work correctly when "p" is unsigned.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/exofs/ore_raid.c