In tmpfs_chtimes(), remove checks on the nanosecond level when
authorbrueffer <brueffer@FreeBSD.org>
Sun, 26 Jul 2015 08:33:46 +0000 (08:33 +0000)
committerbrueffer <brueffer@FreeBSD.org>
Sun, 26 Jul 2015 08:33:46 +0000 (08:33 +0000)
commit95419ac92135d6f9997fd284b263e9bd07899dea
treeaacea3215002b4d4cd11db4ce86bd87fe5199b65
parent759686c03cfdde25009ff6e7e4cdd13b6ccf337c
In tmpfs_chtimes(), remove checks on the nanosecond level when
determining whether a node changed.

Other filesystems, e.g., UFS, only check on seconds, when determining
whether something changed.

This also corrects the birthtime case, where we checked tv_nsec
twice, instead of tv_sec and tv_nsec (PR).

PR: 201284
Submitted by: David Binderman
Patch suggested by: kib
Reviewed by: kib
MFC after: 2 weeks
Committed from: Essen FreeBSD Hackathon
sys/fs/tmpfs/tmpfs_subr.c