ocfs2: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Tue, 12 Nov 2013 23:07:07 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:02 +0000 (12:09 +0900)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/stackglue.c

index 39abf89697edfc296173dce40a3e5aab1575202b..cb7ec0b63ddc503939888d153c0b9617400d52f7 100644 (file)
@@ -643,7 +643,7 @@ error:
 
 #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,