]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfs: fix timstamp debug prints
authorArnd Bergmann <arnd@arndb.de>
Mon, 28 Oct 2019 09:13:16 +0000 (10:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:38:16 +0000 (08:38 +0100)
commit5df6f3531533a10b149af5f8acf9f454d0080eae
tree47e4ec7e8979a4d4f38e6d896ebccd20209cc400
parent961034d5787da4bac97f4f31d78e05c592768eee
nfs: fix timstamp debug prints

[ Upstream commit 057f184b1245150b88e59997fc6f1af0e138d42e ]

Starting in v5.5, the timestamps are correctly passed down as
64-bit seconds with NFSv4 on 32-bit machines, but some debug
statements still truncate them to 'long'.

Fixes: e86d5a02874c ("NFS: Convert struct nfs_fattr to use struct timespec64")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4xdr.c