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-08-05 06:16:36 +00:00
2018-08-01 08:24:34 +00:00
2018-08-05 11:14:13 +00:00
2018-06-14 07:12:10 +00:00
2018-08-01 18:45:51 +00:00
2018-08-04 20:45:43 +00:00
2018-08-01 18:45:51 +00:00
2018-08-05 11:14:13 +00:00
2018-08-05 13:54:37 +00:00
2018-08-01 18:45:51 +00:00
2018-08-01 18:45:51 +00:00
2018-07-15 00:31:17 +00:00
2018-08-04 20:45:43 +00:00
2018-07-19 10:14:52 +00:00