target: Fix incorrect unmap_zeroes_data_store return
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 11 Feb 2016 04:34:56 +0000 (20:34 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 11 Feb 2016 04:34:56 +0000 (20:34 -0800)
commit2e498f25b0daa9dec761e3e880024ff7417f2445
tree217d8ab0e90e90a8f3adb65f795722d4325aec50
parentd7236ac368212bd6fc8b45f050136ee53e6a6f2d
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: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c