diff options
author | 2023-07-17 08:49:57 -0700 | |
---|---|---|
committer | 2023-07-17 08:49:57 -0700 | |
commit | efa96cc99793bafe96bdbff6abab94d81472a32d (patch) | |
tree | f6027850be31d544b5f2dedcf823069235f1ba67 /scripts/generate_rust_analyzer.py | |
parent | iomap: fix a regression for partial write errors (diff) | |
download | wireguard-linux-efa96cc99793bafe96bdbff6abab94d81472a32d.tar.xz wireguard-linux-efa96cc99793bafe96bdbff6abab94d81472a32d.zip |
iomap: micro optimize the ki_pos assignment in iomap_file_buffered_write
We have the new value for ki_pos right at hand in iter.pos, so assign
that instead of recalculating it from ret.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.harjani@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions