Commit 11e60be4 authored by Eric Biggers's avatar Eric Biggers Committed by Greg Kroah-Hartman
Browse files

f2fs: fix the f2fs_file_write_iter tracepoint



[ Upstream commit ccf7cf92 ]

Pass in the original position and count rather than the position and
count that were updated by the write.  Also use the correct types for
all arguments, in particular the file offset which was being truncated
to 32 bits on 32-bit platforms.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: bb34cc6c ("f2fs: fix to update iostat correctly in f2fs_filemap_fault()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f3a220d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment