mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
lockd: convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
75a3294ec5
commit
7ac9fe571d
1 changed files with 3 additions and 3 deletions
|
@ -436,7 +436,7 @@ EXPORT_SYMBOL_GPL(lockd_down);
|
||||||
* Sysctl parameters (same as module parameters, different interface).
|
* Sysctl parameters (same as module parameters, different interface).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static ctl_table nlm_sysctls[] = {
|
static struct ctl_table nlm_sysctls[] = {
|
||||||
{
|
{
|
||||||
.procname = "nlm_grace_period",
|
.procname = "nlm_grace_period",
|
||||||
.data = &nlm_grace_period,
|
.data = &nlm_grace_period,
|
||||||
|
@ -490,7 +490,7 @@ static ctl_table nlm_sysctls[] = {
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
static ctl_table nlm_sysctl_dir[] = {
|
static struct ctl_table nlm_sysctl_dir[] = {
|
||||||
{
|
{
|
||||||
.procname = "nfs",
|
.procname = "nfs",
|
||||||
.mode = 0555,
|
.mode = 0555,
|
||||||
|
@ -499,7 +499,7 @@ static ctl_table nlm_sysctl_dir[] = {
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
static ctl_table nlm_sysctl_root[] = {
|
static struct ctl_table nlm_sysctl_root[] = {
|
||||||
{
|
{
|
||||||
.procname = "fs",
|
.procname = "fs",
|
||||||
.mode = 0555,
|
.mode = 0555,
|
||||||
|
|
Loading…
Reference in a new issue