diff options
author | Harshula Jayasuriya <harshula@redhat.com> | 2013-11-20 14:35:00 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2013-11-20 15:04:47 -0500 |
commit | ad7814093205b669650a60e16fbe4e4b25b50f12 (patch) | |
tree | 1b5417457cb9ba02e928069bd218149481aaf895 /utils/mount/network.c | |
parent | f41c591f8f4d492ee84994bb86810fb90bef8d4b (diff) | |
download | nfs-utils-ad7814093205b669650a60e16fbe4e4b25b50f12.tar.gz nfs-utils-ad7814093205b669650a60e16fbe4e4b25b50f12.tar.xz nfs-utils-ad7814093205b669650a60e16fbe4e4b25b50f12.zip |
exportfs: modify can_test() to use LONG_MAX when appropriate
This patch is the nfs-utils patch corresponding to the kernel patch
commit 2f74f972 "sunrpc: prepare NFS for 2038". The kernel sunrpc
code needs to handle seconds since epoch greater than 2147483647.
This means functions that parse time as an int need to
handle it as time_t."
When appropriate exportfs should use LONG_MAX in can_test()
instead of INT_MAX.
Signed-off-by: Harshula Jayasuriya <harshula@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.c')
0 files changed, 0 insertions, 0 deletions