Skip to content
Commit 9532f149 authored by Michal Belczyk's avatar Michal Belczyk Committed by Linus Torvalds
Browse files

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: default avatarMichal Belczyk <belczyk@bsd.krakow.pl>
Signed-off-by: default avatarPaul Clements <paul.clements@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8f75af44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment