• Arnd Bergmann's avatar
    nfsd: handle nfs3 timestamps as unsigned · 92c5e469
    Arnd Bergmann authored
    The decode_time3 function behaves differently on 32-bit
    and 64-bit architectures: on the former, a 32-bit timestamp
    gets converted into an signed number and then into a timestamp
    between 1902 and 2038, while on the latter it is interpreted
    as unsigned in the range 1970-2106.
    
    Change all the remaining 'timespec' in nfsd to 'timespec64'
    to make the behavior the same, and use the current interpretation
    of the dominant 64-bit architectures.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    92c5e469
nfsfh.h 7.65 KB