aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJoe Richey <joerichey@google.com>2017-04-06 19:14:28 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-04-30 01:26:34 -0400
commit960e6994ad9cf10ddd4d3680a2d6cf5159c93a83 (patch)
treee764f77624989609238b1ea9df3261309f73efd1 /include/uapi/linux
parent9c8268def6127a9d9888b822a74becb80dfeab6f (diff)
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: Joe Richey <joerichey@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h
index 9691fda01245..24e61a54feaa 100644
--- a/include/uapi/linux/fs.h
+++ b/include/uapi/linux/fs.h
@@ -279,7 +279,7 @@ struct fscrypt_policy {
279 __u8 filenames_encryption_mode; 279 __u8 filenames_encryption_mode;
280 __u8 flags; 280 __u8 flags;
281 __u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE]; 281 __u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE];
282} __packed; 282};
283 283
284#define FS_IOC_SET_ENCRYPTION_POLICY _IOR('f', 19, struct fscrypt_policy) 284#define FS_IOC_SET_ENCRYPTION_POLICY _IOR('f', 19, struct fscrypt_policy)
285#define FS_IOC_GET_ENCRYPTION_PWSALT _IOW('f', 20, __u8[16]) 285#define FS_IOC_GET_ENCRYPTION_PWSALT _IOW('f', 20, __u8[16])