Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFC6AC7618B for ; Sun, 12 Mar 2023 23:31:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229665AbjCLXbR (ORCPT ); Sun, 12 Mar 2023 19:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjCLXbO (ORCPT ); Sun, 12 Mar 2023 19:31:14 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE8EC24112 for ; Sun, 12 Mar 2023 16:31:10 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id f6-20020a17090ac28600b0023b9bf9eb63so1625684pjt.5 for ; Sun, 12 Mar 2023 16:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20210112.gappssmtp.com; s=20210112; t=1678663870; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=xGsRfyWirO1vSkNZurgVxrSIuOQUCszDrkoyMT09sQs=; b=NboYJvQ0YuDQbYw2M1vU9JVEzDJsjSLEbY9WsRGsLeDGylvi9+jWzHvjyQsXInv/vh 5dUJGO59oE44kzMCqDvvyK9i0mAI49aWsGk/ZzRr4oHwPjQEyOFnMSvHgALiQGhLiXTr JMikS88mniyswWrjBAkLMdqzfLSR8DccSOsu/MwTwTCb7kPiUlrs4CTmAffKJiqXcxuq gwVJ9E1bcqrT8qMzrAWeleGhPrt7/Zdr9E4DiOXQgyCY6+E+CZMhIIJcw+DDvxKI9NQF 2wxmm4cljnXAien+Q36htyf30E7LxnGeEvszsGg5zaVw4uLiKB4Xr5qJiFuqmHC1KEBY H9dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678663870; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xGsRfyWirO1vSkNZurgVxrSIuOQUCszDrkoyMT09sQs=; b=8No2SgBde1AkeZ5oXKjpln6bb6Csp0Qa19fRVi3w4zxlos7lzbE9lXrw6Ls05+Ohb5 vQzO53wk62PMQm93WlceF1k7XAVEOk+rj2tAgLa0vEP0SszwpNoDgdHVSxhvIMzFH3xd 7N4B/PwPoBRp/95MrG6315urJ7kn+4GKtpjlJo7QC+u3nQVxHt1FN0aRPDygqtH880uz SASCNSd0pc8resLx2sCxJN00ONCQm62mx5fL1ZeOrBj1yYUM2vKbSJJPR/hvOS9uVQul plA0sKHdyiIsEOj1LbuwtWpQKvZXNQwDYUhkXrW14VJMY5KHpup0XCtSAR4aXYe0PWa5 zqwA== X-Gm-Message-State: AO0yUKVS8ZF1XRLex/DPDR07VjRcS1kV6EUbB8hZFn5Is/TibqkloU9N upnP5Gn+DFKJ9dMq6wsqokxZ7w== X-Google-Smtp-Source: AK7set8Fgsjo4bRIW0pN3fgU3x2K1goOzHfUWcYXBk2t7zY/FyA9xynwVPuBAWLpp35yhUEYeP8MOw== X-Received: by 2002:a17:903:120b:b0:19e:82aa:dc8a with SMTP id l11-20020a170903120b00b0019e82aadc8amr37238346plh.22.1678663870328; Sun, 12 Mar 2023 16:31:10 -0700 (PDT) Received: from dread.disaster.area (pa49-186-4-237.pa.vic.optusnet.com.au. [49.186.4.237]) by smtp.gmail.com with ESMTPSA id bb12-20020a170902bc8c00b001933b4b1a49sm3311784plb.183.2023.03.12.16.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 16:31:09 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1pbV9e-0083Cw-KQ; Mon, 13 Mar 2023 10:31:06 +1100 Date: Mon, 13 Mar 2023 10:31:06 +1100 From: Dave Chinner To: Luis Chamberlain Cc: djwong@kernel.org, linux-xfs@vger.kernel.org, keescook@chromium.org, yzaikin@google.com, j.granados@samsung.com, patches@lists.linux.dev, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xfs: simplify two-level sysctl registration for xfs_table Message-ID: <20230312233106.GP360264@dread.disaster.area> References: <20230310230219.3948819-1-mcgrof@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230310230219.3948819-1-mcgrof@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 10, 2023 at 03:02:19PM -0800, Luis Chamberlain wrote: > There is no need to declare two tables to just create directories, > this can be easily be done with a prefix path with register_sysctl(). > > Simplify this registration. > > Signed-off-by: Luis Chamberlain > --- > > This is not clear to some so I've updated the docs for the sysctl > registration here: > > https://lore.kernel.org/all/20230310223947.3917711-1-mcgrof@kernel.org/T/#u > > fs/xfs/xfs_sysctl.c | 20 +------------------- > 1 file changed, 1 insertion(+), 19 deletions(-) Looks fine. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com