You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
sysctl: Add a root pointer to ctl_table_set
Add a ctl_table_root pointer to ctl_table set so it is easy to go from a ctl_table_set to a ctl_table_root. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
@@ -1047,6 +1047,7 @@ struct ctl_table_header
|
||||
|
||||
struct ctl_table_set {
|
||||
struct list_head list;
|
||||
struct ctl_table_root *root;
|
||||
int (*is_seen)(struct ctl_table_set *);
|
||||
};
|
||||
|
||||
@@ -1069,6 +1070,7 @@ struct ctl_path {
|
||||
void proc_sys_poll_notify(struct ctl_table_poll *poll);
|
||||
|
||||
extern void setup_sysctl_set(struct ctl_table_set *p,
|
||||
struct ctl_table_root *root,
|
||||
int (*is_seen)(struct ctl_table_set *));
|
||||
extern void retire_sysctl_set(struct ctl_table_set *set);
|
||||
|
||||
@@ -1103,6 +1105,7 @@ static inline void unregister_sysctl_table(struct ctl_table_header * table)
|
||||
}
|
||||
|
||||
static inline void setup_sysctl_set(struct ctl_table_set *p,
|
||||
struct ctl_table_root *root,
|
||||
int (*is_seen)(struct ctl_table_set *))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user