diff options
| author | Bryan Holty <[email protected]> | 2006-03-22 12:35:39 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2006-06-01 14:16:55 +0000 |
| commit | f52359622fa25783cf1a08c0772048d2ed1a7434 (patch) | |
| tree | b9b06d8b289d6c9bdb401282497079c4a5b2792c /fs/xfs/xfs_rtalloc.c | |
| parent | [SCSI] scsi_transport_sas: make write attrs writeable (diff) | |
| download | kernel-f52359622fa25783cf1a08c0772048d2ed1a7434.tar.gz kernel-f52359622fa25783cf1a08c0772048d2ed1a7434.zip | |
[SCSI] scsi_lib.c: properly count the number of pages in scsi_req_map_sg()
The calculation of nr_pages in scsi_req_map_sg() doesn't account for
the fact that the first page could have an offset that pushes the end
of the buffer onto a new page.
Signed-off-by: Bryan Holty <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions
