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:09:46 +0000 (20:09 -0700)
commitd6f5d5fd0c1de1a443e3a9c3d439dd5d760f11cc
tree694bc64fce322d6c74af2d1e795173582957a9ca
parent2346e1e345bbb141271d0e54d6d906118db8864d
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