forked from Minki/linux
ntfs: 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
92f778dd5d
commit
5eccdf3954
@ -34,7 +34,7 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/* Definition of the ntfs sysctl. */
|
/* Definition of the ntfs sysctl. */
|
||||||
static ctl_table ntfs_sysctls[] = {
|
static struct ctl_table ntfs_sysctls[] = {
|
||||||
{
|
{
|
||||||
.procname = "ntfs-debug",
|
.procname = "ntfs-debug",
|
||||||
.data = &debug_msgs, /* Data pointer and size. */
|
.data = &debug_msgs, /* Data pointer and size. */
|
||||||
@ -46,7 +46,7 @@ static ctl_table ntfs_sysctls[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Define the parent directory /proc/sys/fs. */
|
/* Define the parent directory /proc/sys/fs. */
|
||||||
static ctl_table sysctls_root[] = {
|
static struct ctl_table sysctls_root[] = {
|
||||||
{
|
{
|
||||||
.procname = "fs",
|
.procname = "fs",
|
||||||
.mode = 0555,
|
.mode = 0555,
|
||||||
|
Loading…
Reference in New Issue
Block a user