Btrfs: use right type to get real comparison
authorLiu Bo <bo.li.liu@oracle.com>
Sun, 8 Jun 2014 11:04:13 +0000 (19:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2014 03:12:02 +0000 (20:12 -0700)
commit4f850fdfbb90c57178e24e9e6c9fc32d18cc23e1
tree2a7cb848cee55439eb0befe2b44c0f942df73708
parent6858c106c6a0eaa458423b223154b0baf4450e03
Btrfs: use right type to get real comparison

commit cd857dd6bc2ae9ecea14e75a34e8a8fdc158e307 upstream.

We want to make sure the point is still within the extent item, not to verify
the memory it's pointing to.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/backref.c