nbd: remove bogus BUG_ON in NBD_CLEAR_QUE
authorMichal Belczyk <belczyk@bsd.krakow.pl>
Wed, 3 Jul 2013 22:09:03 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:05 +0000 (16:08 -0700)
commit9532f149ee4532b5efc7e4a76381e1742805e1af
tree3f9b0ca5513e522761a3bfa47c10dd8ad6bd4793
parent8f75af44eed0c81f818b5b345023cebfe5209400
nbd: remove bogus BUG_ON in NBD_CLEAR_QUE

The NBD_CLEAR_QUE ioctl has been deprecated for quite some time (its job
is now done by two other ioctls).  We should stop trying to make bogus
assertions in it.  Also, user-level code should remove calls to
NBD_CLEAR_QUE, ASAP.

Signed-off-by: Michal Belczyk <belczyk@bsd.krakow.pl>
Signed-off-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/nbd.c