aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorKaixiong Yu <[email protected]>2025-01-11 07:07:47 +0000
committerJoel Granados <[email protected]>2025-02-07 15:53:04 +0000
commit52e66823e0bea9adbe3e16075b5d76867ca695aa (patch)
tree966223062124095b9579285021b9f573670863e9 /net/unix/unix_bpf.c
parentsunrpc: simplify rpcauth_cache_shrink_count() (diff)
downloadkernel-52e66823e0bea9adbe3e16075b5d76867ca695aa.tar.gz
kernel-52e66823e0bea9adbe3e16075b5d76867ca695aa.zip
fs: dcache: move the sysctl to fs/dcache.c
The sysctl_vfs_cache_pressure belongs to fs/dcache.c, move it to fs/dcache.c from kernel/sysctl.c. As a part of fs/dcache.c cleaning, sysctl_vfs_cache_pressure is changed to a static variable, and change the inline-type function vfs_pressure_ratio() to out-of-inline type, export vfs_pressure_ratio() with EXPORT_SYMBOL_GPL to be used by other files. Move the unneeded include(linux/dcache.h). Signed-off-by: Kaixiong Yu <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions