]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75bc952e94ae13df5af56c6b85ff4178b02f8559
tree217d8ab0e90e90a8f3adb65f795722d4325aec50
parentd242b9269eaceaed03c1d3cb34159cf8932fd417
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