diff options
author | Keith Busch <keith.busch@intel.com> | 2014-08-26 19:05:36 +0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-04 01:01:02 +0400 |
commit | 2da78092dda13f1efd26edbbf99a567776913750 (patch) | |
tree | 9f245a022542d626c948ebfb886106ce3f7e62ae /CREDITS | |
parent | 5676e7b6db02b80eafc2e3ad316d5f2fee817ecb (diff) | |
download | linux-2da78092dda13f1efd26edbbf99a567776913750.tar.xz |
block: Fix dev_t minor allocation lifetime
Releases the dev_t minor when all references are closed to prevent
another device from acquiring the same major/minor.
Since the partition's release may be invoked from call_rcu's soft-irq
context, the ext_dev_idr's mutex had to be replaced with a spinlock so
as not so sleep.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions