diff options
| author | Arnd Bergmann <[email protected]> | 2019-11-11 21:16:26 +0100 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2020-01-15 10:54:30 -0500 |
| commit | e5189e9a51172de650b263f0f8bc87a02d728c58 (patch) | |
| tree | bddc5364936490a88429dde926c1b9e3eb5eeddd /scripts/gdb/linux/proc.py | |
| parent | bc35b6b0cf4a83da5015ae8f1aa072a05586ee84 (diff) | |
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 <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions