diff options
author | asomers <asomers@FreeBSD.org> | 2017-04-02 03:08:25 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2017-04-02 03:08:25 +0000 |
commit | 4c155c1e6323e7a54f3fd89e8c4f769de7a4b337 (patch) | |
tree | 01ff58387baa104c02f270bb5f30bdf6656bd55b /contrib/llvm/lib/Target/AVR/AVRInstrumentFunctions.cpp | |
parent | ea65e3f79fd2cec8922ffdf6be420bb7f9637640 (diff) | |
download | FreeBSD-src-4c155c1e6323e7a54f3fd89e8c4f769de7a4b337.zip FreeBSD-src-4c155c1e6323e7a54f3fd89e8c4f769de7a4b337.tar.gz |
MFC r313483:
Fix setting birthtime in ZFS
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
* In zfs_freebsd_setattr, if the caller wants to set the birthtime,
set the bits that zfs_settattr expects
* In zfs_setattr, if XAT_CREATETIME is set, set xoa_createtime,
expected by zfs_xvattr_set. The two levels of indirection seem
excessive, but it minimizes diffs vs OpenZFS.
* In zfs_setattr, check for overflow of va_birthtime (from delphij)
* Remove red herring in zfs_getattr
sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h
* Un-booby-trap some macros
New tests are under review at https://github.com/pjd/pjdfstest/pull/6
Reviewed by: avg
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D9353
Diffstat (limited to 'contrib/llvm/lib/Target/AVR/AVRInstrumentFunctions.cpp')
0 files changed, 0 insertions, 0 deletions