Rick Macklem 25705dd5d0 Copy all bits of a file handle in case there is padding in the structure.
At least on x86, fhandle_t is a packed structure, so I believe an
assignment will copy all the bits. However, for some current/future
architectures, there might be padding in the structure that doesn't get
copied via an assignment.
Since NFS assumes a file handle is an opaque blob of bits that can be
compared via memcmp()/bcmp(), all the bits including any padding must be
copied.
This patch replaces the assignments with a call to a byte copy function.
Spotted during code inspection.
2018-08-05 19:21:50 +00:00
..
2018-01-24 16:40:26 +00:00
2018-05-13 19:48:30 +00:00
2018-07-31 12:44:28 +00:00
2018-03-17 12:59:55 +00:00
2018-08-02 20:10:59 +00:00
2017-12-19 22:39:05 +00:00