btrfs: clean up while statement

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
btrfs: Don't lock compressed pages twice when deduplicating

Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.de>