staging/lustre/obdclass: add empty tailing member to ctl_table
authorPeng Tao <bergwolf@gmail.com>
Thu, 21 Nov 2013 14:42:46 +0000 (22:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 20:38:24 +0000 (12:38 -0800)
This was mistakenly removed by commit 7fb3d1c5.
Now register_sysctl_table() complains about "No proc_handler".

Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c

index d66be020983d0e2c002ea0f621d8bf3e749f8f4f..c1ef0c9b5a1aae9af7c0901b8ad537fcec93c865 100644 (file)
@@ -392,7 +392,8 @@ static ctl_table_t obd_table[] = {
                .maxlen   = sizeof(int),
                .mode     = 0644,
                .proc_handler = &proc_at_history
-       }
+       },
+       {}
 };
 
 static ctl_table_t parent_table[] = {
@@ -402,7 +403,8 @@ static ctl_table_t parent_table[] = {
                .maxlen   = 0,
                .mode     = 0555,
                .child    = obd_table
-       }
+       },
+       {}
 };
 #endif