64bit time fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nfs: Send atime and mtime as a 64bit valuefs/ | +2 | 2 replies | |
| 2/2 | nfsd: Decode and send 64bit time valuesfs/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] 64bit time fixes
From: Bryan Schumaker <[email protected]>
xfstests generic/258 attempts to set atime of a file to a value before the unix epoch by running touch -t 196001010101. I found that both the client and the server were zero-filling the first 32bits rather than sending the correct 64bit time value during a setattr. These patches fix this on both the client and the server.
Version 2:
- Cast time.tv_sec values to a s64 instead of a long for 32bit systems
Questions? Comments?
- Bryan
Bryan Schumaker (2):
nfs: Send atime and mtime as a 64bit value
nfsd: Decode and send 64bit time values
fs/nfs/nfs4xdr.c | 6 ++---- fs/nfsd/nfs4xdr.c | 19 +++++-------------- 2 files changed, 7 insertions(+), 18 deletions(-)
Signature · 1 line
1.8.2.1