]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix the afs_uuid struct to make the char-sized fields signed
authorDavid Howells <dhowells@redhat.com>
Thu, 2 Nov 2017 15:27:49 +0000 (15:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 13 Nov 2017 15:38:18 +0000 (15:38 +0000)
commitb0332e9fead959072c2c8c4dab1de7d9d8d51ea2
tree7bb0cedf49ccd5f056edc2950ece6428413f9581
parent030f07c4836699cb1152c8012098b7a47167619a
afs: Fix the afs_uuid struct to make the char-sized fields signed

In AFS's encoding of a UUID, the eight 'char' fields are all signed, so
represent them with __s8 rather than __u8.  This makes the compiler
sign-extend them correctly when XDR-encoding them.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/afs.h