-
- Downloads
fs: Remove the now superfluous sentinel elements from ctl_table array
This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/ ) Remove sentinel elements ctl_table struct. Special attention was placed in making sure that an empty directory for fs/verity was created when CONFIG_FS_VERITY_BUILTIN_SIGNATURES is not defined. In this case we use the register sysctl call that expects a size. Signed-off-by:Joel Granados <j.granados@samsung.com> Reviewed-by:
Jan Kara <jack@suse.cz> Reviewed-by:
"Darrick J. Wong" <djwong@kernel.org> Acked-by:
Christian Brauner <brauner@kernel.org> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org>
Showing
- fs/aio.c 0 additions, 1 deletionfs/aio.c
- fs/coredump.c 0 additions, 1 deletionfs/coredump.c
- fs/dcache.c 0 additions, 1 deletionfs/dcache.c
- fs/devpts/inode.c 0 additions, 1 deletionfs/devpts/inode.c
- fs/eventpoll.c 0 additions, 1 deletionfs/eventpoll.c
- fs/exec.c 0 additions, 1 deletionfs/exec.c
- fs/file_table.c 0 additions, 1 deletionfs/file_table.c
- fs/inode.c 0 additions, 1 deletionfs/inode.c
- fs/lockd/svc.c 0 additions, 1 deletionfs/lockd/svc.c
- fs/locks.c 0 additions, 1 deletionfs/locks.c
- fs/namei.c 0 additions, 1 deletionfs/namei.c
- fs/namespace.c 0 additions, 1 deletionfs/namespace.c
- fs/nfs/nfs4sysctl.c 0 additions, 1 deletionfs/nfs/nfs4sysctl.c
- fs/nfs/sysctl.c 0 additions, 1 deletionfs/nfs/sysctl.c
- fs/notify/dnotify/dnotify.c 0 additions, 1 deletionfs/notify/dnotify/dnotify.c
- fs/notify/fanotify/fanotify_user.c 0 additions, 1 deletionfs/notify/fanotify/fanotify_user.c
- fs/notify/inotify/inotify_user.c 0 additions, 1 deletionfs/notify/inotify/inotify_user.c
- fs/ntfs/sysctl.c 0 additions, 1 deletionfs/ntfs/sysctl.c
- fs/ocfs2/stackglue.c 0 additions, 1 deletionfs/ocfs2/stackglue.c
- fs/pipe.c 0 additions, 1 deletionfs/pipe.c
Loading
Please register or sign in to comment