proc: make grab_header() static
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
This commit is contained in:
committed by
Alexey Dobriyan
parent
a70973c214
commit
81324364b7
@@ -66,7 +66,7 @@ static struct ctl_table *find_in_table(struct ctl_table *p, struct qstr *name)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct ctl_table_header *grab_header(struct inode *inode)
|
static struct ctl_table_header *grab_header(struct inode *inode)
|
||||||
{
|
{
|
||||||
if (PROC_I(inode)->sysctl)
|
if (PROC_I(inode)->sysctl)
|
||||||
return sysctl_head_grab(PROC_I(inode)->sysctl);
|
return sysctl_head_grab(PROC_I(inode)->sysctl);
|
||||||
|
Reference in New Issue
Block a user