summaryrefslogtreecommitdiffstats
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorLiu Bo <liub.liubo@gmail.com>2012-09-07 20:01:28 -0600
committerChris Mason <chris.mason@fusionio.com>2012-10-01 15:19:18 -0400
commit69917e431210f8712fe050f47b7561e7dae89521 (patch)
tree52a81d3c70d3a768d2d7756984dd16898ce12e50 /mm/mincore.c
parentdea7d76ecbfb53cda6aadd9bed33e87d255c5b02 (diff)
downloadblackbird-op-linux-69917e431210f8712fe050f47b7561e7dae89521.tar.gz
blackbird-op-linux-69917e431210f8712fe050f47b7561e7dae89521.zip
Btrfs: fix a bug in parsing return value in logical resolve
In logical resolve, we parse extent_from_logical()'s 'ret' as a kind of flag. It is possible to lose our errors because (-EXXXX & BTRFS_EXTENT_FLAG_TREE_BLOCK) is true. I'm not sure if it is on purpose, it just looks too hacky if it is. I'd rather use a real flag and a 'ret' to catch errors. Acked-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Liu Bo <liub.liubo@gmail.com>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud