rbd discard ret value truncated
Pull request ID:
rbd discard use 'int' as return type, but 'len' user passed is 'unit64',
in some case, the ret value will be truncated and return a negative value
which mean discard failed.