[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230312233106.GP360264@dread.disaster.area>
Date: Mon, 13 Mar 2023 10:31:06 +1100
From: Dave Chinner <david@...morbit.com>
To: Luis Chamberlain <mcgrof@...nel.org>
Cc: djwong@...nel.org, linux-xfs@...r.kernel.org,
keescook@...omium.org, yzaikin@...gle.com, j.granados@...sung.com,
patches@...ts.linux.dev, linux-fsdevel@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xfs: simplify two-level sysctl registration for xfs_table
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 <mcgrof@...nel.org>
> ---
>
> 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 <dchinner@...hat.com>
--
Dave Chinner
david@...morbit.com
Powered by blists - more mailing lists