]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Re-enable reading byte swapped NFS_MAGIC dumps.
authornetchild <netchild@FreeBSD.org>
Sat, 11 Aug 2018 16:12:23 +0000 (16:12 +0000)
committernetchild <netchild@FreeBSD.org>
Sat, 11 Aug 2018 16:12:23 +0000 (16:12 +0000)
commitff2edebaa26cec81c6e8ba3efec4e50cb32ab3ba
tree7e612e02bf5465f744ebc8526f17c874b4af8fdc
parentdb6353bafbb5951e5f3dde499b2c22d835c5c792
Re-enable reading byte swapped NFS_MAGIC dumps.

Fix bug introduced in r98542: previously to this revision the byte-swapped
value was compared at this place. The current check is in a conditional
section where the non-byte-swapped value was already checked to be not
the value which is checked again. As byte-swapping is activated afterwards,
it only makes sense if the byte-swapped value is checked.

Submitted by: Keith White <kwhite@site.uottawa.ca>
PR: 200059
MFC after: 1 month
Sponsored by: Essen Hackathon
sbin/restore/tape.c