From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE0B9C433E0 for ; Fri, 12 Feb 2021 21:35:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9C07564E3D for ; Fri, 12 Feb 2021 21:35:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231960AbhBLVfL convert rfc822-to-8bit (ORCPT ); Fri, 12 Feb 2021 16:35:11 -0500 Received: from lithops.sigma-star.at ([195.201.40.130]:44796 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230047AbhBLVe6 (ORCPT ); Fri, 12 Feb 2021 16:34:58 -0500 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 06EBA6074007; Fri, 12 Feb 2021 22:34:16 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JxTK92jQMiKS; Fri, 12 Feb 2021 22:34:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id B61FF6074009; Fri, 12 Feb 2021 22:34:15 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PiaCTGFa5zf1; Fri, 12 Feb 2021 22:34:15 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 96E216074007; Fri, 12 Feb 2021 22:34:15 +0100 (CET) Date: Fri, 12 Feb 2021 22:34:15 +0100 (CET) From: Richard Weinberger To: Andy Shevchenko Cc: Juergen Borleis , linux-kernel , linux-mtd , kernel , Steffen Trumtrar , Oleksij Rempel Message-ID: <2022320545.389724.1613165655531.JavaMail.zimbra@nod.at> In-Reply-To: References: <20210202124838.30805-1-jbe@pengutronix.de> Subject: Re: [PATCH] fs: ubifs: set s_uuid in super block to support ima/evm uuid options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Topic: ubifs: set s_uuid in super block to support ima/evm uuid options Thread-Index: UM/rSZ/B5fIVI3kknwppOQ4RboI4wA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andy, ----- Ursprüngliche Mail ----- >> + memcpy(&sb->s_uuid, &c->uuid, sizeof(c-> > Shouldn’t it be `import_uuid()`? Hmm, I didn't know that helper. The only user in fs/ seems to be zonefs, all other filesystems do a plain memcpy(). Do you want me do a patch that converts all users in fs/ to import_uuid()? Thanks, //richard