From: Michal Belczyk Date: Wed, 3 Jul 2013 22:09:03 +0000 (-0700) Subject: nbd: remove bogus BUG_ON in NBD_CLEAR_QUE X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9532f149ee4532b5efc7e4a76381e1742805e1af;p=pandora-kernel.git 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 Signed-off-by: Paul Clements Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed