On Mon, 17 Mar 2025 10:29:24 +0800, Chen Linxuan wrote: > This patch improve the returned error code of blkcg_policy_register(). > > 1. Move the validation check for cpd/pd_alloc_fn and cpd/pd_free_fn > function pairs to the start of blkcg_policy_register(). This ensures > we immediately return -EINVAL if the function pairs are not correctly > provided, rather than returning -ENOSPC after locking and unlocking > mutexes unnecessarily. > > [...] Applied, thanks! [1/1] blk-cgroup: improve policy registration error handling commit: e1a0202c6bfda24002a3ae2115154fa90104c649 Best regards, -- Jens Axboe