]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
locking/mutex, sched/wait: Fix the mutex_lock_io_nested() define
authorIngo Molnar <mingo@kernel.org>
Sat, 14 Jan 2017 16:11:36 +0000 (17:11 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 14 Jan 2017 16:11:36 +0000 (17:11 +0100)
commitf21860bac05b609d71757338361d26209ff0759b
treefea61bb1bb0300c8dc6e0b65ac99b362a1eaf095
parent6fa7aa50b2c48400bbd045daf3a2498882eb0596
locking/mutex, sched/wait: Fix the mutex_lock_io_nested() define

Mike noticed this bogosity:

 > > +# define mutex_lock_nest_io(lock, nest_lock) mutex_io(lock)
 >                                                 ^^^^^^^^^^^^^^ typo

This new locking API is not used yet, so this didn't trigger in testing.

Fix it.

Reported-by: Mike Galbraith <efault@gmx.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: adilger.kernel@dilger.ca
Cc: jack@suse.com
Cc: kernel-team@fb.com
Cc: mingbo@fb.com
Cc: tytso@mit.edu
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/mutex.h