]> Gentwo Git Trees - linux/.git/commit
s390/ap: Rename mutex ap_perms_mutex to ap_attr_mutex
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 19 Nov 2025 15:27:37 +0000 (16:27 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Nov 2025 10:43:06 +0000 (11:43 +0100)
commit8babcc2b6a75d1eced723a78cb67b3ff6abac8b0
treec5046ca8ae7ab300632f5315cd0885cfdaae0f39
parentd38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e
s390/ap: Rename mutex ap_perms_mutex to ap_attr_mutex

The mutex ap_perms_mutex was already used not only for protection
of the struct ap_perms ap_perms variable but also for an consistent
update of the AP bus sysfs attributes apmask and aqmask.

So rename this mutex to ap_attr_mutex which better reflects the
current use. This is also a preparation for an upcoming patch which
will use this mutex to lock updates on a new sysfs attribute.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h
drivers/s390/crypto/vfio_ap_ops.c
drivers/s390/crypto/zcrypt_api.c