[PATCH 003 of 11] md: Remove useless ioctl warning.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

### Diffstat output
 ./drivers/md/md.c |    5 -----
 1 file changed, 5 deletions(-)

diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~	2006-05-01 15:09:20.000000000 +1000
+++ ./drivers/md/md.c	2006-05-01 15:10:17.000000000 +1000
@@ -3964,11 +3964,6 @@ static int md_ioctl(struct inode *inode,
 			goto done_unlock;
 
 		default:
-			if (_IOC_TYPE(cmd) == MD_MAJOR)
-				printk(KERN_WARNING "md: %s(pid %d) used"
-					" obsolete MD ioctl, upgrade your"
-					" software to use new ictls.\n",
-					current->comm, current->pid);
 			err = -EINVAL;
 			goto abort_unlock;
 	}
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux