diff options
author | Bart Van Assche <bvanassche@acm.org> | 2025-01-29 14:20:03 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-02-17 22:40:00 -0800 |
commit | c8a3e63ff9d75b9f3f031c90d218876051dea0ba (patch) | |
tree | 247881e17256b618a7c1837ae507b4e88116dfa7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0ad2507d5d93f39619fc42372c347d6006b64319 (diff) |
procfs: fix a locking bug in a vmcore_add_device_dump() error path
Unlock vmcore_mutex when returning -EBUSY.
Link: https://lkml.kernel.org/r/20250129222003.1495713-1-bvanassche@acm.org
Fixes: 0f3b1c40c652 ("fs/proc/vmcore: disallow vmcore modifications while the vmcore is open")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Baoquan he <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions