/shark/trunk/drivers/block/sstf/sstf.c |
---|
100,7 → 100,7 |
request_prologue_t *ret; |
__b_fastmutex_lock(&q->mutex); |
ret=q->actual; |
__b_fastmutex_unlock(&q->mutex); |
__b_fastmutex_lock(&q->mutex); |
return ret; |
} |
/shark/trunk/drivers/block/fcfs/fcfs.c |
---|
79,7 → 79,7 |
__b_fastmutex_lock(&q->mutex); |
ret=q->head; |
__b_fastmutex_unlock(&q->mutex); |
__b_fastmutex_lock(&q->mutex); |
return ret; |
} |
/shark/trunk/drivers/block/edf/edf.c |
---|
111,7 → 111,7 |
__b_fastmutex_lock(&q->mutex); |
ret=q->queue; |
if (ret!=NULL) q->inservice=1; |
__b_fastmutex_unlock(&q->mutex); |
__b_fastmutex_lock(&q->mutex); |
return ret; |
} |
/shark/trunk/drivers/block/pscan/pscan.c |
---|
152,7 → 152,7 |
} |
} |
//cprintf("{%i}",i); |
__b_fastmutex_unlock(&q->mutex); |
__b_fastmutex_lock(&q->mutex); |
return ret; |
} |
/shark/trunk/drivers/block/clook/clook.c |
---|
107,7 → 107,7 |
q->act^=1; |
ret=q->queue[q->act]; |
} |
__b_fastmutex_unlock(&q->mutex); |
__b_fastmutex_lock(&q->mutex); |
return ret; |
} |