quota: simplify two-level sysctl registration for fs_dqstats_table
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 23:12:04 +0000 (15:12 -0800)
committerJan Kara <jack@suse.cz>
Mon, 13 Mar 2023 10:32:01 +0000 (11:32 +0100)
commitdced733d7fa9386f7c96bbf7721360472c0aed47
tree7aee889a20daa2890b7601b06858676367fa9598
parentf768dc3cf74983107464bcd773167c92b85cb8f2
quota: simplify two-level sysctl registration for fs_dqstats_table

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@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230310231206.3952808-4-mcgrof@kernel.org>
fs/quota/dquot.c