From: Kulikov Vasiliy Date: Tue, 20 Jul 2010 07:54:28 +0000 (+1000) Subject: xfs: fix unsigned underflow in xfs_free_eofblocks X-Git-Tag: v2.6.36-rc1~589^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f34885cd7c6a3f4deea48e3bbc704d91d5704f4;p=pandora-kernel.git xfs: fix unsigned underflow in xfs_free_eofblocks map_len is unsigned. Checking map_len <= 0 is buggy when it should be below zero. So, check exact expression instead of map_len. Signed-off-by: Kulikov Vasiliy Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed