]> 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)
commit480babb3433f9ffa0c8bdd399dcd88bad93b399c
tree217d8ab0e90e90a8f3adb65f795722d4325aec50
parent7c0a50174b881090c0860338759ab925580175d4
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