diff options
author | Rich Ercolani <[email protected]> | 2021-06-01 14:58:08 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-01 11:58:08 -0700 |
commit | 3f81aba7668143c6ca6fc44983d4c880606dea8f (patch) | |
tree | 4ae480f349476c956a4097670e9c2e47ddadf1d7 /cmd/zpool/zpool_main.c | |
parent | f7d7ee0583819f3c380866affb31fd6f828cb50d (diff) |
Remove iov_iter_advance() for iter_write
The additional iter advance is incorrect, as copy_from_iter() has
already done the right thing. This will result in the following
warning being printed to the console as of the 5.12 kernel.
Attempted to advance past end of bvec iter
This change should have been included with #11378 when a
similar change was made on the read side.
Suggested-by: @siebenmann
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Issue #11378
Closes #12041
Closes #12155
Diffstat (limited to 'cmd/zpool/zpool_main.c')
0 files changed, 0 insertions, 0 deletions