Brian Behlendorf
0365064a97
Handle closing an unopened ZVOL
...
Thank to commit a4430fce691d492aec382de0dfa937c05ee16500 we're
now correctly returning EROFS when opening a zvol on a read-only
pool. Unfortunately, it looks like this causes us to trigger
some unexpected behavior by __blkdev_get().
In the failure case it's possible __blkdev_get() will call
__blkdev_put() for a bdev which was never successfully opened.
This results in us trying to close the device again and hitting
the NULL dereference.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1343
2015-01-30 14:44:14 -08:00
..
2015-01-16 14:41:26 -08:00
2014-08-01 14:28:05 -07:00
2015-01-16 14:41:26 -08:00
2014-08-01 14:28:05 -07:00
2015-01-16 14:41:26 -08:00
2014-11-17 15:28:59 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2014-08-06 14:48:41 -07:00
2014-10-21 15:26:50 -07:00
2015-01-16 14:41:26 -08:00
2014-10-21 16:32:11 -07:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2014-09-08 09:42:39 -07:00
2015-01-16 14:41:26 -08:00
2014-07-29 10:55:29 -07:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2014-03-07 10:01:36 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2014-11-17 11:13:55 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-21 16:35:14 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2015-01-16 14:41:26 -08:00
2014-08-06 14:48:41 -07:00
2015-01-21 15:30:24 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-06 16:53:24 -08:00
2015-01-16 14:41:26 -08:00
2013-10-31 14:58:04 -07:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2013-10-31 14:58:04 -07:00
2015-01-16 14:41:28 -08:00
2015-01-16 14:41:26 -08:00
2013-10-31 14:58:04 -07:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2014-10-20 16:17:49 -07:00
2014-07-28 14:29:58 -07:00
2015-01-16 14:41:26 -08:00
2010-08-31 13:41:58 -07:00
2014-07-29 10:55:29 -07:00
2015-01-16 14:41:26 -08:00
2014-08-11 16:12:36 -07:00
2015-01-16 14:41:26 -08:00
2013-10-30 14:51:27 -07:00
2015-01-16 14:41:26 -08:00
2013-11-23 15:08:29 -08:00
2015-01-16 14:41:26 -08:00
2014-09-05 15:11:43 -07:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:28 -08:00
2015-01-20 14:07:59 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2014-08-01 14:28:05 -07:00
2014-08-01 14:28:05 -07:00
2014-08-06 14:48:41 -07:00
2015-01-16 14:41:28 -08:00
2010-05-28 13:45:14 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:40:32 -08:00
2013-12-18 16:46:35 -08:00
2015-01-20 14:07:59 -08:00
2015-01-16 14:41:26 -08:00
2015-01-06 16:53:24 -08:00
2015-01-30 14:44:14 -08:00