On Mon, Sep 16, 2024 at 06:21:52PM -0600, Uday Shankar wrote: > Setting UBLK_F_USER_RECOVERY_REISSUE without also setting > UBLK_F_USER_RECOVERY is currently silently equivalent to not setting any > recovery flags at all, even though that's obviously not intended. Check > for this case and fail add_dev (with a paranoid warning to aid debugging > any program which might rely on the old behavior) with EINVAL if it is > detected. > > Signed-off-by: Uday Shankar <ushankar@xxxxxxxxxxxxxxx> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> Thanks, Ming