> -----Original Message----- > From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Sent: Tuesday, December 12, 2023 2:50 PM > To: Gangurde, Abhijit <abhijit.gangurde@xxxxxxx> > Cc: Gupta, Nipun <Nipun.Gupta@xxxxxxx>; Agarwal, Nikhil > <nikhil.agarwal@xxxxxxx>; Greg Kroah-Hartman > <gregkh@xxxxxxxxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; kernel- > janitors@xxxxxxxxxxxxxxx > Subject: [PATCH] cdx: Unlock on error path in rescan_store() > > We added locking to this function but these two error paths were accidentally > overlooked. > > Fixes: f0af81683466 ("cdx: Introduce lock to protect controller ops") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Acked-by: Nikhil Agarwal <Nikhil.agarwal@xxxxxxx>