]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nbd: remove bogus BUG_ON in NBD_CLEAR_QUE
authorMichal Belczyk <belczyk@bsd.krakow.pl>
Wed, 19 Jun 2013 00:08:36 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:50 +0000 (17:27 +1000)
commit1cb72c7909ec075a5dff3405e99ceda0ebdce0af
treea83be58ef2bd9380c9b18f47b209adf84ba73633
parent15035429952ea0116240eed6dd91c52057756cd4
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>
drivers/block/nbd.c