]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: NFSv2/3 do not support negative timestamps
authorJeff Layton <jlayton@kernel.org>
Tue, 16 Jan 2024 17:31:27 +0000 (12:31 -0500)
committerZorro Lang <zlang@kernel.org>
Mon, 5 Feb 2024 06:21:21 +0000 (14:21 +0800)
commitb3da25544c60103f391f9013151e87dd24dfcdcc
tree795e98c845d1756fc8329a5692bb37a01fcb45e0
parent79e87ccf207fc6cd1478599118aca045dae983fa
common/rc: NFSv2/3 do not support negative timestamps

The NFSv2 and v3 protocols use unsigned values for timestamps. Fix
_require_negative_timestamps() to check the NFS version and _notrun if
it's 2 or 3.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc