OSDN Git Service

cxl: don't manipulate the mm.mm_users field directly
authorLaurent Dufour <ldufour@linux.ibm.com>
Wed, 10 Mar 2021 17:44:05 +0000 (18:44 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Mar 2021 01:52:24 +0000 (12:52 +1100)
commit2d9f69bc5a5a75579b410beb0dc3d313be762c9f
treed8d4360072be6a50c46a2e312c0c9ab3c7da028c
parentd943bc742a6aabc578b6b62a713ceedf8bf16623
cxl: don't manipulate the mm.mm_users field directly

It is better to rely on the API provided by the MM layer instead of
directly manipulating the mm_users field.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210310174405.51044-1-ldufour@linux.ibm.com
drivers/misc/cxl/fault.c