From: Alexey Dobriyan Date: Wed, 17 Oct 2007 06:26:21 +0000 (-0700) Subject: Remove sysctl.h from fs.h X-Git-Tag: v2.6.24-rc1~753 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=4be28540ee2f5af6f21764cde25154208750611e;p=linux.git Remove sysctl.h from fs.h Rrrr, addition of sysctl.h to fs.h was't very smart, because simple editing of the former will buy you big recompile, where it shouldn't have to. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/fs.h b/include/linux/fs.h index f70d52c46617..8b3580d0664e 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -283,7 +283,6 @@ extern int dir_notify_enable; #include #include #include -#include #include #include @@ -2032,7 +2031,8 @@ static inline void free_secdata(void *secdata) { } #endif /* CONFIG_SECURITY */ -int proc_nr_files(ctl_table *table, int write, struct file *filp, +struct ctl_table; +int proc_nr_files(struct ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos);