Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'locking-urgent-2021-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking fix from Ingo Molnar:
"Fix the non-debug mutex_lock_io_nested() method to map to
mutex_lock_io() instead of mutex_lock().

Right now nothing uses this API explicitly, but this is an
accident waiting to happen"

* tag 'locking-urgent-2021-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
locking/mutex: Fix non debug version of mutex_lock_io_nested()

+1 -1
+1 -1
include/linux/mutex.h
··· 185 185 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) 186 186 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) 187 187 # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock) 188 - # define mutex_lock_io_nested(lock, subclass) mutex_lock(lock) 188 + # define mutex_lock_io_nested(lock, subclass) mutex_lock_io(lock) 189 189 #endif 190 190 191 191 /*