ext4: fix error handling in migrate