diff options
author | 2025-01-11 15:07:44 +0800 | |
---|---|---|
committer | 2025-02-07 16:53:04 +0100 | |
commit | 94eed61d5877c39b9dcdb9079aa6e0907aeb5f7d (patch) | |
tree | 1d15bbcc615f954f9cd7e216c5b953b1c61fdbc5 /include/linux/writeback.h | |
parent | mm: nommu: move sysctl to mm/nommu.c (diff) | |
download | wireguard-linux-94eed61d5877c39b9dcdb9079aa6e0907aeb5f7d.tar.xz wireguard-linux-94eed61d5877c39b9dcdb9079aa6e0907aeb5f7d.zip |
fs: fs-writeback: move sysctl to fs/fs-writeback.c
The dirtytime_expire_interval belongs to fs/fs-writeback.c, move it to
fs/fs-writeback.c from /kernel/sysctl.c. And remove the useless extern
variable declaration and the function declaration from
include/linux/writeback.h
Signed-off-by: Kaixiong Yu <yukaixiong@huawei.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r-- | include/linux/writeback.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index d11b903c2edb..caf4f0b12235 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h @@ -327,12 +327,8 @@ extern struct wb_domain global_wb_domain; /* These are exported to sysctl. */ extern unsigned int dirty_writeback_interval; extern unsigned int dirty_expire_interval; -extern unsigned int dirtytime_expire_interval; extern int laptop_mode; -int dirtytime_interval_handler(const struct ctl_table *table, int write, - void *buffer, size_t *lenp, loff_t *ppos); - void global_dirty_limits(unsigned long *pbackground, unsigned long *pdirty); unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh); unsigned long cgwb_calc_thresh(struct bdi_writeback *wb); |