Merge "sdm: Fix fence fd leak and invalid error handling for rotator."