diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-20 09:54:28 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 20:16:50 +0200 |
commit | 3f34885cd7c6a3f4deea48e3bbc704d91d5704f4 (patch) | |
tree | c03bcdaf42d70d7e08df2cd629d5308870660bed /fs/xfs/xfs_da_btree.c | |
parent | xfs: use GFP_NOFS for page cache allocation (diff) | |
download | linux-3f34885cd7c6a3f4deea48e3bbc704d91d5704f4.tar.xz linux-3f34885cd7c6a3f4deea48e3bbc704d91d5704f4.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
0 files changed, 0 insertions, 0 deletions