]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcache: allows use of register in udev to avoid "device_busy" error.
authorGabriel de Perthuis <g2p.code@gmail.com>
Mon, 30 Nov 2015 02:40:23 +0000 (18:40 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:43:47 +0000 (15:43 -0700)
commit01a3218cde197e2f8659c86ab989973b87da0c89
treed1154104aceca93453cafe6b4c09c45278b7df34
parentb2fbf269db0d23bb6a1c977cad82d8db4d561d08
bcache: allows use of register in udev to avoid "device_busy" error.

Orabug: 23330612

[ Upstream commit d7076f21629f8f329bca4a44dc408d94670f49e2 ]

Allows to use register, not register_quiet in udev to avoid "device_busy" error.
The initial patch proposed at https://lkml.org/lkml/2013/8/26/549 by Gabriel de Perthuis
<g2p.code@gmail.com> does not unlock the mutex and hangs the kernel.

See http://thread.gmane.org/gmane.linux.kernel.bcache.devel/2594 for the discussion.

Cc: Denis Bychkov <manover@gmail.com>
Cc: Kent Overstreet <kent.overstreet@gmail.com>
Cc: Eric Wheeler <bcache@linux.ewheeler.net>
Cc: Gabriel de Perthuis <g2p.code@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit d5402134c27d66e83295ae2961772b89bc6a50bc)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/md/bcache/super.c