diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2019-11-11 21:16:26 +0100 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 10:54:30 -0500 |
| commit | e5189e9a51172de650b263f0f8bc87a02d728c58 (patch) | |
| tree | bddc5364936490a88429dde926c1b9e3eb5eeddd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | nfs: fscache: use timespec64 in inode auxdata (diff) | |
| download | linux-e5189e9a51172de650b263f0f8bc87a02d728c58.tar.gz linux-e5189e9a51172de650b263f0f8bc87a02d728c58.zip | |
nfs: remove timespec from xdr_encode_nfstime
For NFSv2 and NFSv3, timestamps are stored using 32-bit entities
and overflow in y2038. For historic reasons we truncate the
64-bit timestamps by converting from a timespec64 to a timespec
first.
Remove this unnecessary conversion step and do the truncation
in the final functions that take a timestamp.
This is transparent to users, but avoids one of the last uses
of 'timespec' and lets us remove it later.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
