aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-20 16:51:20 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-20 16:51:20 +0000
commitb2a0b491ee0397c0ff7b068a4091b1f7d7a66ca6 (patch)
tree810d5ea574e0c6d4170e6084859f205faa63240f
parent186965e1ed510a3f2883ac3f4826bf4e382010d2 (diff)
downloadxen-b2a0b491ee0397c0ff7b068a4091b1f7d7a66ca6.tar.gz
xen-b2a0b491ee0397c0ff7b068a4091b1f7d7a66ca6.tar.bz2
xen-b2a0b491ee0397c0ff7b068a4091b1f7d7a66ca6.zip
bitkeeper revision 1.1159.258.143 (428e1588HSalPYyogvolE-cDtFhV_A)
blkfront unknown ioctl shoudl return EINVAL. Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r--linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c
index 9c181affab..4bf1fdabcd 100644
--- a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c
+++ b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c
@@ -247,9 +247,9 @@ int blkif_ioctl(struct inode *inode, struct file *filep,
return 0;
default:
- printk(KERN_ALERT "ioctl %08x not supported by Xen blkdev\n",
- command);
- return -ENOSYS;
+ /*printk(KERN_ALERT "ioctl %08x not supported by Xen blkdev\n",
+ command);*/
+ return -EINVAL; /* same return as native Linux */
}
return 0;