+20
−44
Loading
use guard(mutex) for scope based resource management of mutex. This would make the code simpler and easier to maintain. More details on lock guards can be found at https://lore.kernel.org/all/20230612093537.614161713@infradead.org/T/#u Reviewed-by:Srikar Dronamraju <srikar@linux.ibm.com> Signed-off-by:
Shrikanth Hegde <sshegde@linux.ibm.com> Tested-by:
Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by:
Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250505075333.184463-3-sshegde@linux.ibm.com