Cleanup, move the checkpoint lock inside __lsm_discard_handle.