diff options
author | NeilBrown <neilb@suse.de> | 2006-06-26 03:27:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 12:58:36 -0400 |
commit | 9443a1d1f72c688646278c06d0a9a3c79e895325 (patch) | |
tree | f4c536bb90c04bd71502921e85496a51bb033248 | |
parent | 8932c2e0dcae52e73430878fd8a7a7800176eada (diff) |
[PATCH] md: remove useless ioctl warning
This warning was slightly useful back in 2.2 days, but is more an annoyance
now. It makes it awkward to add new ioctls (that we we are likely to do that
in the current climate, but it is possible).
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/md/md.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index f19b874753a9..30a93d64921e 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3977,11 +3977,6 @@ static int md_ioctl(struct inode *inode, struct file *file, | |||
3977 | goto done_unlock; | 3977 | goto done_unlock; |
3978 | 3978 | ||
3979 | default: | 3979 | default: |
3980 | if (_IOC_TYPE(cmd) == MD_MAJOR) | ||
3981 | printk(KERN_WARNING "md: %s(pid %d) used" | ||
3982 | " obsolete MD ioctl, upgrade your" | ||
3983 | " software to use new ictls.\n", | ||
3984 | current->comm, current->pid); | ||
3985 | err = -EINVAL; | 3980 | err = -EINVAL; |
3986 | goto abort_unlock; | 3981 | goto abort_unlock; |
3987 | } | 3982 | } |