summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorshao.mingyin@zte.com.cn <shao.mingyin@zte.com.cn>2026-11-03 18:53:42 +0800
committerMikulas Patocka <mpatocka@redhat.com>2026-11-04 19:33:47 +0100
commit0550d3b14e008b033b02cfce668008ec6addffe4 (patch)
treedb700fc55af6a9e0e0a06f560eb9c2021839aa8a /rust/kernel
parent8f611fe94a781c6fb658488cc7eab4e4923e6df6 (diff)
dm log userspace: drop the device reference on error
userspace_ctr() takes a reference on the log device with dm_get_device(). When the integrated-flush workqueue allocation fails it jumps to the shared error path, which frees the log context without dropping that reference, so the device stays busy and cannot be removed. userspace_dtr() drops the reference correctly; do the same here. Fixes: 5066a4df1f42 ("dm log userspace: allow mark requests to piggyback on flush requests") Cc: stable@vger.kernel.org Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions