misc filesystems: simplify sysctl registration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fs/cachefiles: simplify one-level sysctl registration for cachefiles_sysctlsfs/ | +1 | 0 replies | |
| 2/5 | devpts: simplify two-level sysctl registration for pty_kern_tablefs/ | +1 | 1 reply | |
| 3/5 | quota: simplify two-level sysctl registration for fs_dqstats_tablefs/ | +1 | 1 reply | |
| 4/5 | coda: simplify one-level sysctl registration for coda_tablefs/ | +1 | 1 reply | |
| 5/5 | ntfs: simplfy one-level sysctl registration for ntfs_sysctlsfs/ | +1 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Jan Harkes |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] misc filesystems: simplify sysctl registration
This simplifies syctl registration for a few misc filesystems according to our latest preference / guidance [0]. register_sysctl_table() incurs possible recursion and we can avoid that by dealing with flat directories with files in them, and having the subdirectories explicitly named with register_sysctl().
As we phase these callers out we can deprecate / remove register_sysctl_table() eventually.
If you're a maintainer feel free to pick up the patch or I'm also happy to take it through sysctl-next if you like. These don't create conflicts so there is no requirement they go throug sysclt-next at all.
I can pick up stragglers later.
[0] https://lore.kernel.org/all/[email protected]/T/#u
Luis Chamberlain (5):
fs/cachefiles: simplify one-level sysctl registration for
cachefiles_sysctls
devpts: simplify two-level sysctl registration for pty_kern_table
quota: simplify two-level sysctl registration for fs_dqstats_table
coda: simplify one-level sysctl registration for coda_table
ntfs: simplfy one-level sysctl registration for ntfs_sysctls
fs/cachefiles/error_inject.c | 11 +---------- fs/coda/sysctl.c | 11 +---------- fs/devpts/inode.c | 20 +------------------- fs/ntfs/sysctl.c | 12 +----------- fs/quota/dquot.c | 20 +------------------- 5 files changed, 5 insertions(+), 69 deletions(-)
Signature · 1 line
2.39.1