Commit e780e3de authored by Peng Tao's avatar Peng Tao Committed by Greg Kroah-Hartman

staging/lustre/obdclass: add empty tailing member to ctl_table

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: default avatarPeng Tao <bergwolf@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 76d791a0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment