Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3978154pxf; Mon, 22 Mar 2021 22:26:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLHSFDD4zu3YRWfuY9P9ImMsZeOjkKleqAyasF0NpXuqWBN4YZEp+rJcbPs+u/b+OzqoOl X-Received: by 2002:a17:906:af97:: with SMTP id mj23mr3196250ejb.419.1616477217692; Mon, 22 Mar 2021 22:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616477217; cv=none; d=google.com; s=arc-20160816; b=PSPVgOsA+cgbl6/IbAr4DDmZSpQYfF3bcPF89+T+RoZkLDspsnQ9TJr2lMtRxOOqlZ YGlbL13SBgaM5vXNxSlcT/ImCulkFjnzV13GnuemPgRBGnsJ5ovT9Yt6VE5Z9VZHvwtG /wW5Da5qn+YHFHvqCmZ54zNGa0HCu9VzViClryqjrMk1E3wZBrT8COlMfbYgWyTKrvRX 92DEeyp325UZjunWgGCsHfmSPnArksTOOa1JSD6jkoE75lRnafCyx/MDk4gLoR0+2s0Y fMQ9tMNOB2ugrLcBjrJ//dwvC5iwWig4y2mtgOpLlYK1XbfbZaiq8mkSLrAXS9xPaMij 6jiw== 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=bUPGwHyfCFhrEpg/kWavchzpPaEqNThbAknTwO+GXwE=; b=JvTrp5ES/Sfs3c0Cznszc5lGhqNKmcYXVVe7Rpwcjmc5llSb8HKpR1U2zi4KaV1+lR BEMSkl655Y1lStGBVTtz6pWaXOqj1afNBWDOlQLITJv2+C3DRICMPVQoKG5fNSGwfz6N wHX2ei8ZpRQvHPhmO0frhMpx+Bg5RuF+MtOlzT5Eo26LcWLfeoWUjWmYW2khJ1SO7cdL nfD8Xo3B6zK9hfKGUbimBAwYNfq0xCV9lU1O87X4I10NM3xZFy7yKB25ParYdNeqLAPf u1g3rU6theD48hKiXtlsGPEE0seBVELRXomlqRQcNYvM6ffgOxHg1pdn1u6c+szisu9C 9xLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q30cijKj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si13861788ejc.46.2021.03.22.22.26.35; Mon, 22 Mar 2021 22:26:57 -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=pass header.i=@gmail.com header.s=20161025 header.b=Q30cijKj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229631AbhCWFVy (ORCPT + 99 others); Tue, 23 Mar 2021 01:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbhCWFVr (ORCPT ); Tue, 23 Mar 2021 01:21:47 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C244C061574; Mon, 22 Mar 2021 22:21:47 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id d10so10264476ils.5; Mon, 22 Mar 2021 22:21:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bUPGwHyfCFhrEpg/kWavchzpPaEqNThbAknTwO+GXwE=; b=Q30cijKjBPZcUumK9c6JEf6v1L6cssfeK21CQTE2vmnkQad4uFeUit/Wy4kl22qC9A 4BXesXSR9Xl6aadVzaEVUWD1qzhAQd969S5eNvRMC4awroXzbQsQLMmZHKfZAl2my2Cv mqd9ilS5f0+/lcoUhWwZ+/O6KuSRPmqF8FJO0gRvpB3x4V/sHzLRj17qB2k/aNETXCmX u5w0i4UYYTYLQHGIpcSB3zXF9xGSzSWnKqeJ5laMuuLAXWp3UOZHYpLaBQ/Z/wdMdBro ZEW2Poyw3fcNJxCMi9iG3XawWDJR+Jk/a2i1Mhrkzi/Aox3hSTgcI6sw2mMC99NvBruS iNdg== 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=bUPGwHyfCFhrEpg/kWavchzpPaEqNThbAknTwO+GXwE=; b=PrbGfJ5G2fH+T5C9bR6YuAHvL0BtzXORliBdUC3f7PKcR4DQzQKeVYgV5z13UxykPK hala9w/GxeY4rBLF/yYNnN4acmc1F1WZiU+4o1dJYaZc6sy8vzLTje9q45uN4JT9mq59 CtIDXB67m3mkS8yNgOfIVU5uumnp0kscCboa1D37gchPYN2sR+2ukG68mK1SIGt0NQRN Op3Z0ZiR2nwmbCKG3iYs9j+62AS2Wb9+TQuQkq9i9pc0Jd5N9G+TT+lpLCUyH6TZkujz eIWGtxic3hcP9q2I+vTGjwhIQeI7Ci13PlOdF5481j7uFXj9h7KR9ClJSVhPCRTfUWjW DPbQ== X-Gm-Message-State: AOAM530XcZPACA/xjpZLFvDrtF/jBRVuXkfgSJvMPU+Q7Qs1XyWbTV8/ GRITbwuJRrpFlUf11koEjVbJ81zrD8GFwYq+g9E= X-Received: by 2002:a92:2c08:: with SMTP id t8mr3284834ile.72.1616476906587; Mon, 22 Mar 2021 22:21:46 -0700 (PDT) MIME-Version: 1.0 References: <20210322144916.137245-1-mszeredi@redhat.com> <20210322144916.137245-2-mszeredi@redhat.com> <20210322223338.GD22094@magnolia> In-Reply-To: <20210322223338.GD22094@magnolia> From: Amir Goldstein Date: Tue, 23 Mar 2021 07:21:35 +0200 Message-ID: Subject: Re: [PATCH v2 01/18] vfs: add miscattr ops To: "Darrick J. Wong" , Miklos Szeredi Cc: linux-fsdevel , Al Viro , linux-kernel , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > +``miscattr_get`` > > I wish this wasn't named "misc" because miscellaneous is vague. > > fileattr_get, perhaps? > > (FWIW I'm not /that/ passionate about starting a naming bikeshed, feel > free to ignore.) > Eventual bikeshedding is hard to avoid in this case... I don't feel strongly against "misc", but I do think the flags and ioctl are already known as "fsx" so it would be more friendly to go with that. If you don't like "fsxflags" because it's not only flags and you think "fsxattr" is too close to "xattr" (FWIW I don't think it is going to be a source of confusion), we can simply go with get_fsx(), similar to get_acl(). It doesn't matter what name we use as long as everyone is clear on what it is. "struct fsx" is not any more or any less clear than "struct statx" and while "fsx" it is a pretty arbitrary name, it is not much less arbitrary than "miscattr". Thanks, Amir.