Commit 960e6994 authored by Joe Richey's avatar Joe Richey Committed by Theodore Ts'o

fscrypt: Remove __packed from fscrypt_policy

This commit removes __packed from fscrypt_policy as it does not contain
any implicit padding and does not refer to an on-disk structure. Even
though this is a change to a UAPI file, no users will be broken as the
structure doesn't change.
Signed-off-by: default avatarJoe Richey <joerichey@google.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 9c8268de
...@@ -279,7 +279,7 @@ struct fscrypt_policy { ...@@ -279,7 +279,7 @@ struct fscrypt_policy {
__u8 filenames_encryption_mode; __u8 filenames_encryption_mode;
__u8 flags; __u8 flags;
__u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE]; __u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE];
} __packed; };
#define FS_IOC_SET_ENCRYPTION_POLICY _IOR('f', 19, struct fscrypt_policy) #define FS_IOC_SET_ENCRYPTION_POLICY _IOR('f', 19, struct fscrypt_policy)
#define FS_IOC_GET_ENCRYPTION_PWSALT _IOW('f', 20, __u8[16]) #define FS_IOC_GET_ENCRYPTION_PWSALT _IOW('f', 20, __u8[16])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment