diff options
author | FUJITA Tomonori <[email protected]> | 2009-04-03 09:12:20 +0900 |
---|---|---|
committer | James Bottomley <[email protected]> | 2009-04-03 09:25:23 -0500 |
commit | 0fdf96b67ac2649cc1ddb29b316a0db11586c6a8 (patch) | |
tree | e70a5d8babcae1ec25c0df0722291b31df62a7cb /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | f894e74dc1983062d30d4e1b79bdb90b8a847f52 (diff) |
[SCSI] sg: fix iovec bugs introduced by the block layer conversion
- needs to use copy_from_user for iovec before passing it to
blk_rq_map_user_iov().
- before the block layer conversion, if ->dxfer_len and sum of iovec
disagrees, the shorter one wins. However, currently sg returns
-EINVAL. This restores the old behavior.
Signed-off-by: FUJITA Tomonori <[email protected]>
Acked-by: Douglas Gilbert <[email protected]>
Cc: [email protected]
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions