diff options
author | Yan Zheng <zheng.yan@oracle.com> | 2009-05-27 09:16:03 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-06-10 11:29:46 -0400 |
commit | 5c939df56c3ea018b58e5aa76181284c2053d699 (patch) | |
tree | 6d97449faa69c96998833fcb56a3b65050d34354 /fs/btrfs/btrfs_inode.h | |
parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) | |
download | lwn-5c939df56c3ea018b58e5aa76181284c2053d699.tar.gz lwn-5c939df56c3ea018b58e5aa76181284c2053d699.zip |
btrfs: Fix set/clear_extent_bit for 'end == (u64)-1'
There are some 'start = state->end + 1;' like code in set_extent_bit
and clear_extent_bit. They overflow when end == (u64)-1.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions