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: Drop & in front of every proc_handler.
For consistency drop & in front of every proc_handler. Explicity taking the address is unnecessary and it prevents optimizations like stubbing the proc_handlers to NULL. Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Joe Perches <joe@perches.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
+5
-5
@@ -139,34 +139,34 @@ static ctl_table debug_table[] = {
|
||||
.data = &rpc_debug,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dodebug
|
||||
.proc_handler = proc_dodebug
|
||||
},
|
||||
{
|
||||
.procname = "nfs_debug",
|
||||
.data = &nfs_debug,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dodebug
|
||||
.proc_handler = proc_dodebug
|
||||
},
|
||||
{
|
||||
.procname = "nfsd_debug",
|
||||
.data = &nfsd_debug,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dodebug
|
||||
.proc_handler = proc_dodebug
|
||||
},
|
||||
{
|
||||
.procname = "nlm_debug",
|
||||
.data = &nlm_debug,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dodebug
|
||||
.proc_handler = proc_dodebug
|
||||
},
|
||||
{
|
||||
.procname = "transports",
|
||||
.maxlen = 256,
|
||||
.mode = 0444,
|
||||
.proc_handler = &proc_do_xprt,
|
||||
.proc_handler = proc_do_xprt,
|
||||
},
|
||||
{ }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user