[PATCH] powerpc/opal_elog: Handle multiple writes to ack attribute
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Oct 16 22:32:35 AEDT 2020
On Wed, 14 Oct 2020 12:18:13 +0530, Aneesh Kumar K.V wrote:
> Even though we use self removing sysfs helper, we still need
> to make sure we do the final kobject delete conditionally.
> sysfs_remove_file_self() will handle parallel calls to remove
> the sysfs attribute file and returns true only in the caller
> that removed the attribute file. The other parallel callers
> are returned false. Do the final kobject delete checking
> the return value of sysfs_remove_file_self().
Applied to powerpc/fixes.
[1/1] powerpc/opal_elog: Handle multiple writes to ack attribute
https://git.kernel.org/powerpc/c/d4263b12a1a0e8816e021450be0765a1ad8bb53c
cheers
More information about the Linuxppc-dev
mailing list