Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d00d2f8a authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

ocfs2: convert use of typedef ctl_table to struct ctl_table



This typedef is unnecessary and should just be removed.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Acked-by: default avatarJoel Becker <jlbec@evilplan.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b1214e47
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -643,7 +643,7 @@ static int ocfs2_sysfs_init(void)

#define FS_OCFS2_NM		1

static ctl_table ocfs2_nm_table[] = {
static struct ctl_table ocfs2_nm_table[] = {
	{
		.procname	= "hb_ctl_path",
		.data		= ocfs2_hb_ctl_path,
@@ -654,7 +654,7 @@ static ctl_table ocfs2_nm_table[] = {
	{ }
};

static ctl_table ocfs2_mod_table[] = {
static struct ctl_table ocfs2_mod_table[] = {
	{
		.procname	= "nm",
		.data		= NULL,
@@ -665,7 +665,7 @@ static ctl_table ocfs2_mod_table[] = {
	{ }
};

static ctl_table ocfs2_kern_table[] = {
static struct ctl_table ocfs2_kern_table[] = {
	{
		.procname	= "ocfs2",
		.data		= NULL,
@@ -676,7 +676,7 @@ static ctl_table ocfs2_kern_table[] = {
	{ }
};

static ctl_table ocfs2_root_table[] = {
static struct ctl_table ocfs2_root_table[] = {
	{
		.procname	= "fs",
		.data		= NULL,