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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Mar 2021 07:26:30 +0000 (08:26 +0100)
commit615d2ef05a97be05c12cbb50f5fce0b8e094d66c
treee85421d003b2b55928fa8a37a0391905d6e093ac
parent0ea43c23d4904d6a6e6b2b12a9da12b33ee0da1b
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.

Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Link: https://lore.kernel.org/r/20210310174405.51044-1-ldufour@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cxl/fault.c