Home
last modified time | relevance | path

Searched hist:"042 ad0b3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dnfs4xdr.c042ad0b3 Fri Apr 19 15:09:37 CDT 2013 Bryan Schumaker <bjschuma@netapp.com> nfs: Send atime and mtime as a 64bit value

RFC 3530 says that the seconds value of a nfstime4 structure is a 64bit
value, but we are instead sending a 32-bit 0 and then a 32bit conversion
of the 64bit Linux value. This means that if we try to set atime to a
value before the epoch (touch -t 196001010101) the client will only send
part of the new value due to lost precision.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
042ad0b3 Fri Apr 19 15:09:37 CDT 2013 Bryan Schumaker <bjschuma@netapp.com> nfs: Send atime and mtime as a 64bit value

RFC 3530 says that the seconds value of a nfstime4 structure is a 64bit
value, but we are instead sending a 32-bit 0 and then a 32bit conversion
of the 64bit Linux value. This means that if we try to set atime to a
value before the epoch (touch -t 196001010101) the client will only send
part of the new value due to lost precision.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>