ia64/xen-unstable

changeset 5047:d661ca31241d

bitkeeper revision 1.1159.258.143 (428e1588HSalPYyogvolE-cDtFhV_A)

blkfront unknown ioctl shoudl return EINVAL.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri May 20 16:51:20 2005 +0000 (2005-05-20)
parents 7693dd47436e
children 574892590001
files linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c	Fri May 20 14:16:06 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c	Fri May 20 16:51:20 2005 +0000
     1.3 @@ -247,9 +247,9 @@ int blkif_ioctl(struct inode *inode, str
     1.4          return 0;
     1.5  
     1.6      default:
     1.7 -        printk(KERN_ALERT "ioctl %08x not supported by Xen blkdev\n",
     1.8 -               command);
     1.9 -        return -ENOSYS;
    1.10 +        /*printk(KERN_ALERT "ioctl %08x not supported by Xen blkdev\n",
    1.11 +          command);*/
    1.12 +        return -EINVAL; /* same return as native Linux */
    1.13      }
    1.14  
    1.15      return 0;