git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rwsem generic spinlock: use IRQ save/restore spinlocks
[safe/jmp/linux-2.6]
/
drivers
/
scsi
/
libsas
/
sas_host_smp.c
diff --git
a/drivers/scsi/libsas/sas_host_smp.c
b/drivers/scsi/libsas/sas_host_smp.c
index
be9a951
..
04ad8dd
100644
(file)
--- a/
drivers/scsi/libsas/sas_host_smp.c
+++ b/
drivers/scsi/libsas/sas_host_smp.c
@@
-10,6
+10,7
@@
*/
#include <linux/scatterlist.h>
#include <linux/blkdev.h>
*/
#include <linux/scatterlist.h>
#include <linux/blkdev.h>
+#include <linux/slab.h>
#include "sas_internal.h"
#include "sas_internal.h"
@@
-176,9
+177,6
@@
int sas_smp_host_handler(struct Scsi_Host *shost, struct request *req,
resp_data[1] = req_data[1];
resp_data[2] = SMP_RESP_FUNC_UNK;
resp_data[1] = req_data[1];
resp_data[2] = SMP_RESP_FUNC_UNK;
- req->resid_len = blk_rq_bytes(req);
- rsp->resid_len = blk_rq_bytes(rsp);
-
switch (req_data[1]) {
case SMP_REPORT_GENERAL:
req->resid_len -= 8;
switch (req_data[1]) {
case SMP_REPORT_GENERAL:
req->resid_len -= 8;