]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r306349:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Feb 2017 06:34:52 +0000 (06:34 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Feb 2017 06:34:52 +0000 (06:34 +0000)
commitf7ec1622b4701c8d44cbfb2168e81db97dcb4eb0
tree47784d23a799ba75452be1d2403fbbc274b38965
parent0425c92f6e15925effcb273c33bc30131b606900
MFC r306349:
r306349 (by pfg):

hash(3): protect in-memory page when using cross-endianness.

When writing out pages in the "other endian" format, make a copy
instead of trashing the in-memory one.

Obtained from: NetBSD (CVS rev. 1.29)

git-svn-id: svn://svn.freebsd.org/base/stable/10@313532 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/db/hash/hash_page.c