]> www.infradead.org Git - users/dwmw2/linux.git/commit
fs/proc/vmcore: replace vmcoredd_mutex by vmcore_mutex
authorDavid Hildenbrand <david@redhat.com>
Wed, 4 Dec 2024 12:54:33 +0000 (13:54 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Jan 2025 14:38:52 +0000 (09:38 -0500)
commit2083dfe45e83336fafb92f689d6d4b873ad9872d
tree7c70e83539a784951858b8dd80e7605b861eed41
parentcdbc69716ff3a126cef43154742858e1caffa858
fs/proc/vmcore: replace vmcoredd_mutex by vmcore_mutex

Now that we have a mutex that synchronizes against opening of the vmcore,
let's use that one to replace vmcoredd_mutex: there is no need to have
two separate ones.

This is a preparation for properly preventing vmcore modifications
after the vmcore was opened.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20241204125444.1734652-3-david@redhat.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
fs/proc/vmcore.c