|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] blkfront unknown ioctl shoudl return EINVAL.
 
ChangeSet 1.1159.258.143, 2005/05/20 17:51:20+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
        blkfront unknown ioctl shoudl return EINVAL.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
 blkfront.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c 
b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c   2005-05-20 
13:03:25 -04:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c   2005-05-20 
13:03:25 -04:00
@@ -247,9 +247,9 @@
         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;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-changelog] blkfront unknown ioctl shoudl return EINVAL.,
BitKeeper Bot <=
 
 
 |  
  
| Previous by Date:  | 
[Xen-changelog] XendDomainInfo.py, xc.c, xc_linux_restore.c,	xc_domain.c, xc.h:, BitKeeper Bot | 
 
| Next by Date:  | 
[Xen-changelog] Handle mis-aligned I/O requests in blkback driver., BitKeeper Bot | 
 
| Previous by Thread:  | 
[Xen-changelog] XendDomainInfo.py, xc.c, xc_linux_restore.c,	xc_domain.c, xc.h:, BitKeeper Bot | 
 
| Next by Thread:  | 
[Xen-changelog] blkfront unknown ioctl shoudl return EINVAL., BitKeeper Bot | 
 
| Indexes:  | 
[Date]
[Thread]
[Top]
[All Lists] | 
 
 
 
 | 
    | 
  
  
    |   | 
    |