commit | 3f34885cd7c6a3f4deea48e3bbc704d91d5704f4 | [log] [tgz] |
---|---|---|
author | Kulikov Vasiliy <segooon@gmail.com> | Tue Jul 20 17:54:28 2010 +1000 |
committer | Alex Elder <aelder@sgi.com> | Mon Jul 26 13:16:50 2010 -0500 |
tree | c03bcdaf42d70d7e08df2cd629d5308870660bed | |
parent | aea1b9532143218f8599ecedbbd6bfbf812385e1 [diff] |
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 <segooon@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>