diff --git a/scst_local/Makefile b/scst_local/Makefile index 2dc1929bf..01eae30ea 100644 --- a/scst_local/Makefile +++ b/scst_local/Makefile @@ -33,7 +33,7 @@ all: Modules.symvers Module.symvers tgt: Modules.symvers Module.symvers $(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m -install: all scst_local.ko +install: all $(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \ modules_install -/sbin/depmod -aq $(KVER) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 5e2cb5a4d..f39b533de 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -1026,6 +1026,7 @@ static void scst_local_targ_task_mgmt_done(struct scst_mgmt_cmd *mgmt_cmd) static struct scst_tgt_template scst_local_targ_tmpl = { .name = "scst_local_tgt", + .sg_tablesize = 0xffff, .xmit_response_atomic = 1, .detect = scst_local_targ_detect, .release = scst_local_targ_release,