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)
committerJens Axboe <axboe@fb.com>
Thu, 31 Dec 2015 03:23:13 +0000 (20:23 -0700)
commitd7076f21629f8f329bca4a44dc408d94670f49e2
tree6d1685199f00f73be98c21e162e61f6a1866854a
parent2ecf0cdb2b437402110ab57546e02abfa68a716b
bcache: allows use of register in udev to avoid "device_busy" error.

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>
drivers/md/bcache/super.c