]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UBIFS: signedness bug in ubifs_shrink_count()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Jun 2013 23:52:19 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:01 +0000 (16:38 +1000)
commit8dcfc9308c2f18635c245c6a9a511822e25b717a
treef23ca35e4a8741bf546eb93cbc02c36db25c28a0
parent7f0331e1807d27d53c6db9603d6b032f88ac0569
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