]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
NFSD: Fix offset type in I/O trace points
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 Feb 2022 22:05:24 +0000 (17:05 -0500)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 7 Mar 2022 10:41:56 +0000 (11:41 +0100)
commit6a0e3b993356b7c75cc1140d8c1eb647bac12093
tree88b970f6fa22e9eaca8c73f02c44d8dcd76e0781
parent36707c0fe6666083184fb6e58d8e60f422fe74f8
NFSD: Fix offset type in I/O trace points

BugLink: https://bugs.launchpad.net/bugs/1963889
commit 6a4d333d540041d244b2fca29b8417bfde20af81 upstream.

NFSv3 and NFSv4 use u64 offset values on the wire. Record these values
verbatim without the implicit type case to loff_t.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
fs/nfsd/trace.h