From patchwork Thu Apr 6 23:14:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Richey X-Patchwork-Id: 9668547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7DAF060365 for ; Thu, 6 Apr 2017 23:14:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 965A0285DE for ; Thu, 6 Apr 2017 23:14:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B28E285E9; Thu, 6 Apr 2017 23:14:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C4AB285E8 for ; Thu, 6 Apr 2017 23:14:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755463AbdDFXOg (ORCPT ); Thu, 6 Apr 2017 19:14:36 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:33891 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226AbdDFXOf (ORCPT ); Thu, 6 Apr 2017 19:14:35 -0400 Received: by mail-pg0-f67.google.com with SMTP id o123so11109380pga.1; Thu, 06 Apr 2017 16:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=OL9Ss0pTstVwvO4V7wqONo/21cdrul2liDQhwnv+hQA=; b=klses5SjvVdIUPo/syNeT4DkzV+huSpqgpkoD6N0UoF6uQrcSdxw9Rc6vz1SNRnu5i x2KWEEB/QAAcyCTovkbdYLyDecS/NVHcRpFhp2nISpbf2HNOGkzijRooHso/ZAL07qew zrcUwAmjTAnYscveuyKOHbiDuPzlOMuPsafpzRxGRe0b5M8Dwk76q0t6+VqCCVj6e+0F rgwXV9v9R2dPHvGSc3WSrUlYrLPcwFNVBP9GT2by2XB8IxcCGBEgBKCkqoW+AYht487c tTbC3OTmz6uzCedtDg7G5ijmh79iFcbVzC8FIuCTkg+x+pHwcVlR2qiRaZTl1CP2XuHD buEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OL9Ss0pTstVwvO4V7wqONo/21cdrul2liDQhwnv+hQA=; b=UPmQSPUCMElojGPObCXE6DyWGNcN7ndaNmJ/ZdgX/QFg3yWYq+/YY/96GHF0j6h+gT d4rk12/O6wtuROQRexS0FK2lGEU4XnZwqOn0KlTvk7D3TxscCz2BDqOUnlw5twqJJcvh APhovnXjSMPH5eFILBL9Fed5U0hj1vncYKioA+RnDAiO/7AYykAFhDi9Xt8tAZGBnC4e V13vIGSiNZUQsNYlKzhJs5W7AdN7R8HXzfZ1CfsxHzhUSpwjHHUqyeOtGA70K0O/PK1c /bOIjVzcTFn6lE0Pd3KQikfb/E2oQANlEniOGa8OVYDuKtOIU8ePnd+cgak1/QtH475s 6v/w== X-Gm-Message-State: AFeK/H2TuQ8enEML9xYNrtGNQ8zMxS0AunAHo3hhcGytrBBiPJb0jZk3ZrdRj8wuQ8lxJQ== X-Received: by 10.98.104.4 with SMTP id d4mr36467424pfc.2.1491520475008; Thu, 06 Apr 2017 16:14:35 -0700 (PDT) Received: from joerichey.kir.corp.google.com ([172.23.164.75]) by smtp.gmail.com with ESMTPSA id l126sm5580538pfl.56.2017.04.06.16.14.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 16:14:34 -0700 (PDT) From: Joe Richey To: linux-fsdevel@vger.kernel.org Cc: linux-fscrypt@vger.kernel.org, linux-api@vger.kernel.org, Richard Weinberger , Jaegeuk Kim , Theodore Ts'o , Michael Halcrow , Joe Richey Subject: [PATCH v2] fscrypt: Remove __packed from fscrypt_policy Date: Thu, 6 Apr 2017 16:14:28 -0700 Message-Id: <20170406231428.154187-1-joerichey94@gmail.com> X-Mailer: git-send-email 2.12.2.715.g7642488e1d-goog Sender: linux-fscrypt-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fscrypt@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Joe Richey 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 --- include/uapi/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h index 048a85e9f017..f6e1c54ac5e2 100644 --- a/include/uapi/linux/fs.h +++ b/include/uapi/linux/fs.h @@ -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])