[PATCH 0/2] md: small cleanups in MD driver

From: Abd-Alrhman Masalkhi

Date: Wed Apr 15 2026 - 10:08:45 EST


Hi,

This small series contains two cleanups in the MD driver.

Patch 1: replaces a wait loop in md_handle_request() with wait_event()
Patch 2: replaces a mutex_lock() with mddev_lock_nointr()

Thanks,
Abd-Alrhman

Abd-Alrhman Masalkhi (2):
md: replace wait loop with wait_event() in md_handle_request()
md: use mddev_lock_nointr() in mddev_suspend_and_lock_nointr()

drivers/md/md.c | 10 +---------
drivers/md/md.h | 2 +-
2 files changed, 2 insertions(+), 10 deletions(-)

--
2.43.0