dax/bus.c: don't use down_write_killable for non-user processes
authorVishal Verma <vishal.l.verma@intel.com>
Tue, 30 Apr 2024 17:44:25 +0000 (11:44 -0600)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 7 May 2024 17:37:01 +0000 (10:37 -0700)
commite39dbcfba714c4c2e924e96fc8fdde1080a5a737
treecdf6df6b67e5074294cd68567a0a5babfc837aa9
parent6f6544f27e41f9d7dca55c288f12175a9c48dfe2
dax/bus.c: don't use down_write_killable for non-user processes

Change an instance of down_write_killable() to a simple down_write() where
there is no user process that might want to interrupt the operation.

Link: https://lkml.kernel.org/r/20240430-vv-dax_abi_fixes-v3-3-e3dcd755774c@intel.com
Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local rwsem")
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Reported-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Cc: Alison Schofield <alison.schofield@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/dax/bus.c