]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UBIFS: signedness bug in ubifs_shrink_count()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 19 Jun 2013 00:06:51 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:48 +0000 (17:26 +1000)
commit3485a27d1f32b5782f5beee7c1345e1385d89838
treec6cdfedb2dec4ab4af50fd5ca484950122f3d542
parent5719b8f47f4f8a797aa5245b57d5a99b48579de1
UBIFS: signedness bug in ubifs_shrink_count()

We test "clean_zn_cnt" for negative later in the function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Dave Chinner <dchinner@redhat.com>
Cc: Glauber Costa <glommer@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ubifs/shrinker.c