Skip to content

Commit

Permalink
ocfs2: convert use of typedef ctl_table to struct ctl_table
Browse files Browse the repository at this point in the history
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <[email protected]>
Cc: Mark Fasheh <[email protected]>
Acked-by: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoePerches authored and torvalds committed Nov 13, 2013
1 parent b1214e4 commit d00d2f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fs/ocfs2/stackglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit d00d2f8

Please sign in to comment.