diff options
author | Christoph Hellwig <[email protected]> | 2021-12-08 10:12:03 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2021-12-08 07:04:21 -0800 |
commit | de291b5902860d18d6e02000808aeb833ec1feb6 (patch) | |
tree | dc8c6ae05967bc267784f8b63936b978f128d204 /net/lapb/lapb_timer.c | |
parent | b80892ca022e9eb484771a66eb68e12364695a2a (diff) |
iomap: turn the byte variable in iomap_zero_iter into a ssize_t
@bytes also holds the return value from iomap_write_end, which can
contain a negative error value. As @bytes is always less than the page
size even the signed type can hold the entire possible range.
Fixes: c6f40468657d ("fsdax: decouple zeroing from the iomap buffered I/O code")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions