diff options
author | Chunwei Chen <[email protected]> | 2017-02-02 09:43:42 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-03 10:25:41 -0800 |
commit | a0e099580a9b503ac1c39a83873971059a93f7a5 (patch) | |
tree | f5e6a5539dfe201f9f27bda84a1e0fcfdbd32df1 /module/zfs/vdev_cache.c | |
parent | 5070e5311cb39be35fb059e9e0489070814c44a5 (diff) |
Fix write(2) returns zero bug from 933ec99
For generic_write_checks with 2 args, we can exit when it returns zero because
it means count is zero. However this is not the case for generic_write_checks
with 4 args, where zero means no error.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Haakan T Johansson <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Closes #5720
Closes #5726
Diffstat (limited to 'module/zfs/vdev_cache.c')
0 files changed, 0 insertions, 0 deletions