summary refs log tree commit diff
path: root/ipc
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2014-09-14 17:06:36 -0500
committerSteve French <smfrench@gmail.com>2014-09-14 17:06:36 -0500
commit2ae83bf93882d1ec0cd775c489bd1bee611f792e (patch)
tree16bad22e1b184520d2ed3af34d4895e002c77016 /ipc
parent1536340e7c67694b134cbbc07168e5a524e49d08 (diff)
downloadlinux-2ae83bf93882d1ec0cd775c489bd1bee611f792e.tar.gz
[CIFS] Fix setting time before epoch (negative time values)
xfstest generic/258 sets the time on a file to a negative value
(before 1970) which fails since do_div can not handle negative
numbers.  In addition 'normal' division of 64 bit values does
not build on 32 bit arch so have to workaround this by special
casing negative values in cifs_NTtimeToUnix

Samba server also has a bug with this (see samba bugzilla 7771)
but it works to Windows server.

Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions