/*Data struct handed back to userspace for tapdisk device to VBD mapping*/
typedef struct domid_translate {
unsigned short domid;
- u32 busid;
+ unsigned short busid;
} domid_translate_t ;
/*Data struct associated with each of the tapdisk devices*/
tap_blkif_t *info;
struct task_struct *ptask;
- /*
- * if the userland tools set things up wrong, this could be negative;
- * just don't try to signal in this case
- */
- if (idx < 0)
- return;
-
info = tapfds[idx];
if ((idx < 0) || (idx > MAX_TAP_DEV) || !info)
return;