Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp35164pxf; Wed, 24 Mar 2021 20:06:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTaBNb+/le5B/0Wsz399O6afG/dBh+BdGp/hRMYz1OUaVtcQ3LWZ/VQ7ce1rovAGSLQ/b5 X-Received: by 2002:a17:906:1a4b:: with SMTP id j11mr7078901ejf.55.1616641605057; Wed, 24 Mar 2021 20:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616641605; cv=none; d=google.com; s=arc-20160816; b=ErNIy08yjuhPdw8eE+GaIs/AQlf/nc1b7SoH85wbBn3U58538HFFmEAkwsCtozyMyC x0VOctW9PSlKZHxUFNVcwR6ZI/Tyhw7GWEbgrkAcj5v/LxqmC10/k6nLSrP7bB5QxMCw WwfHC9XEqE96Q9E0LhLxApqPZmbA86Auuw4wTps1P6dTFih2voB5t0c/oXOAd5f1nC3f TjX38l/LRqReh2r0R37PCuM+bcY8MGSVlJ+UnvTp13HHWQEZR2C+ei0G5b9UPiPjS5y9 DfojTO1olTWBaw7BDFiafXE+0BFm7dQIY9W8tMyGc35mtCLsmscj8VZmZLTT3sgGcWwq lesQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZUFyhgX5lTiFtnumWIqv5+ST/JL7zHH1di1jLEAniOE=; b=vH5j7qq8Cb+A4dmZTgzliN/HxaGmyk+T0aeQdEmG1e1BmHlh22fhFzCQcLg3s+V1P1 o4lPQDwSjWHtSxtv5UgQZdZItUOOUMkmCPy6T2APr+J+gFQVRUxUYXzj3R2wbx2nyfUE iZ/zcYPY1kxbROsh0BV0I4bpzmR7em71TdgH6OoY1+IDHgmlfv9NrEVyFD5urXkaYBD0 0VlAQzFyBgKFyIN8UpRPe+tJfLmf+aJOeR1krImf1p+u6lKHg+/e5hwibhnhqifSYaIS lj62aMaOUa1dWfwmEflBMAmcUmI3dvkpw5DXmvtwaYj3fh55+nCsidyeMZboUujPJ5+h 3OMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=feuvdoZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rh9si3410419ejb.417.2021.03.24.20.06.22; Wed, 24 Mar 2021 20:06:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=feuvdoZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235524AbhCXNqT (ORCPT + 99 others); Wed, 24 Mar 2021 09:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235572AbhCXNp7 (ORCPT ); Wed, 24 Mar 2021 09:45:59 -0400 Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE62BC0613DE for ; Wed, 24 Mar 2021 06:45:59 -0700 (PDT) Received: by mail-ua1-x934.google.com with SMTP id c13so7850183uao.10 for ; Wed, 24 Mar 2021 06:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZUFyhgX5lTiFtnumWIqv5+ST/JL7zHH1di1jLEAniOE=; b=feuvdoZB0KoWgkMdq2aH6yVFYEEeELg6t8RC60g3MDH3jsokzX3n6hMkMY/+7VaZMq tXkIXW9Hpi5vmrmkTf9NWUWvPh+aZ4SycejWgeI97DnUuKOIIw+EAPw8g0PlP7Mn0tno cw0MAWzyc7PKqpaYEjIIt3aAKupGGJDiyAEy8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZUFyhgX5lTiFtnumWIqv5+ST/JL7zHH1di1jLEAniOE=; b=Lcp5haSXjUDlWjq6sgnBSA1IvibLuoBYHq4CLKQearyf7MApZ5SvDfvir0v94+qInS 1uFSvuqPXT9OgZGlQ2u7Ti16hC6ICBC2E+ay3SnQpAMV5xvat5ktauRKc9YPa0+kvtM+ vIGdgNzcjHJf9EnF+IZvuLpQUjLxJOVmCd6dlo85TFU7v3gz8gC7inAeJbdOHlNBzYd/ JTDLC+1BYgqNpiWM3odG6Xdp/0TwOmXtsvSzo5RmzYDS1S5rTUAZmQXx1NDeDgqg2i6E I7uOBZPqKMFE0mB1JGYN8Q2vaaAfvLXL8Gc1MuBZCBQR+bIGGbvU3p8CS6Di7zpe9ONg Xqzw== X-Gm-Message-State: AOAM533ambroq322WsGwhVPbTK02oTqO43mg6ZV5uBSufNA09aya2iOv Mz+/n5a/WUNzZq3LP79Hiar+9xZEOiOKQfKMIooV8Q== X-Received: by 2002:ab0:738e:: with SMTP id l14mr1808128uap.72.1616593558885; Wed, 24 Mar 2021 06:45:58 -0700 (PDT) MIME-Version: 1.0 References: <20210322144916.137245-1-mszeredi@redhat.com> <20210322144916.137245-2-mszeredi@redhat.com> In-Reply-To: From: Miklos Szeredi Date: Wed, 24 Mar 2021 14:45:46 +0100 Message-ID: Subject: Re: [PATCH v2 01/18] vfs: add miscattr ops To: Al Viro Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 1:28 PM Al Viro wrote: > > On Wed, Mar 24, 2021 at 09:45:02AM +0100, Miklos Szeredi wrote: > > Isn't structure initialization supposed to zero everything not > > explicitly initialized? > > All fields, but not the padding... Ah... while the structure is unlikely to change, I'll switch to memset to be safe. > > > The one in io_uring() seems wrong also, as a beast needing > > file_dentry() should never get out of overlayfs and into io_uring: > > That one would be wrong in overlayfs as well - we'd better had the > same names in all layers... Right. Thanks, Miklos