Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e498f25 authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

target: Fix incorrect unmap_zeroes_data_store return



This patch fixes an incorrect return of zero from the new
unmap_zeroes_data_store() configfs store attribute handler
introduced in v4.5-rc1, to use the correct 'count' bytes
return value.

Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent d7236ac3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -898,7 +898,7 @@ static ssize_t unmap_zeroes_data_store(struct config_item *item,
	da->unmap_zeroes_data = flag;
	pr_debug("dev[%p]: SE Device Thin Provisioning LBPRZ bit: %d\n",
		 da->da_dev, flag);
	return 0;
	return count;
}

/*