xen-blkfront: module exit handling adjustments
authorJan Beulich <JBeulich@suse.com>
Thu, 5 Apr 2012 15:04:52 +0000 (16:04 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 20:11:54 +0000 (16:11 -0400)
commit8605067fb9b8e34aecf44ec258657c9cc009fc5a
tree5c646866a1ef241674600764158c9eb340a5d543
parente77c78c02290c27925f67cd35b497e99ee0d6fe1
xen-blkfront: module exit handling adjustments

The blkdev major must be released upon exit, or else the module can't
attach to devices using the same majors upon being loaded again. Also
avoid leaking the minor tracking bitmap.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c