]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fscrypt: Remove __packed from fscrypt_policy
authorJoe Richey <joerichey@google.com>
Thu, 6 Apr 2017 23:14:28 +0000 (16:14 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 30 Apr 2017 05:26:34 +0000 (01:26 -0400)
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: Joe Richey <joerichey@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
include/uapi/linux/fs.h

index 9691fda0124523447002df4cb8ea5f761f480dcb..24e61a54feaaab505b2d2e74e5462a8638d0c897 100644 (file)
@@ -279,7 +279,7 @@ struct fscrypt_policy {
        __u8 filenames_encryption_mode;
        __u8 flags;
        __u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE];
-} __packed;
+};
 
 #define FS_IOC_SET_ENCRYPTION_POLICY   _IOR('f', 19, struct fscrypt_policy)
 #define FS_IOC_GET_ENCRYPTION_PWSALT   _IOW('f', 20, __u8[16])