mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
@@ -5093,12 +5093,6 @@ static inline int scst_get_sg_page_next(struct scst_cmd *cmd,
|
||||
return __scst_get_sg_page(cmd, cmd->sg_cnt, page, offset);
|
||||
}
|
||||
|
||||
static inline void scst_put_sg_page(struct scst_cmd *cmd,
|
||||
struct page *page, int offset)
|
||||
{
|
||||
/* Nothing to do */
|
||||
}
|
||||
|
||||
static inline int scst_get_out_sg_page_first(struct scst_cmd *cmd,
|
||||
struct page **page, int *offset)
|
||||
{
|
||||
|
||||
@@ -6230,7 +6230,6 @@ static void blockio_exec_rw(struct vdisk_cmd_params *p, bool write, bool fua)
|
||||
|
||||
lba_start += length >> block_shift;
|
||||
|
||||
scst_put_sg_page(cmd, page, offset);
|
||||
length = scst_get_sg_page_next(cmd, &page, &offset);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user