Home
last modified time | relevance | path

Searched hist:b2c042cc802fe96d431821bf1cf2f0f04a3eda7d (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/xen/
H A Dxen-scsiback.cdiff b2c042cc802fe96d431821bf1cf2f0f04a3eda7d Tue Mar 28 10:46:02 CEST 2023 Juergen Gross <jgross@suse.com> xen/scsiback: don't call scsiback_free_translation_entry() under lock

scsiback_free_translation_entry() shouldn't be called under spinlock,
as it can sleep.

This requires to split removing a translation entry from the v2p list
from actually calling kref_put() for the entry.

Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/lkml/Y+JUIl64UDmdkboh@kadam/
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Link: https://lore.kernel.org/r/20230328084602.20729-1-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>