scst_lib: Fix return type of __scst_adjust_sg_get_tail()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-11-06 17:46:28 +00:00
parent c5aa1ce1e0
commit d9bd3f56cf

View File

@@ -3314,7 +3314,7 @@ static void scst_adjust_sg(struct scst_cmd *cmd, bool reg_sg,
return;
}
static bool __scst_adjust_sg_get_tail(struct scst_cmd *cmd,
static int __scst_adjust_sg_get_tail(struct scst_cmd *cmd,
struct scatterlist *sg, int *sg_cnt,
struct scatterlist **res_sg, int *res_sg_cnt,
int adjust_len, struct scst_orig_sg_data *orig_sg, int must_left)