Skip to content
Snippets Groups Projects
Commit 4138b92b authored by Andrew Perepechko's avatar Andrew Perepechko
Browse files

b=17917

i=Alexander Zarochentsev
i=Johann Lombardi

add a trailing zero to avoid oops from proc entry creation routines
parent e1fbde13
No related branches found
No related tags found
No related merge requests found
...@@ -547,6 +547,7 @@ struct lprocfs_vars lprocfs_quota_common_vars[] = { ...@@ -547,6 +547,7 @@ struct lprocfs_vars lprocfs_quota_common_vars[] = {
lprocfs_quota_wr_switch_seconds, 0 }, lprocfs_quota_wr_switch_seconds, 0 },
{ "quota_sync_blk", lprocfs_quota_rd_sync_blk, { "quota_sync_blk", lprocfs_quota_rd_sync_blk,
lprocfs_quota_wr_sync_blk, 0}, lprocfs_quota_wr_sync_blk, 0},
{ NULL }
}; };
struct lprocfs_vars lprocfs_quota_master_vars[] = { struct lprocfs_vars lprocfs_quota_master_vars[] = {
...@@ -560,6 +561,7 @@ struct lprocfs_vars lprocfs_quota_master_vars[] = { ...@@ -560,6 +561,7 @@ struct lprocfs_vars lprocfs_quota_master_vars[] = {
lprocfs_quota_wr_least_iunit, 0 }, lprocfs_quota_wr_least_iunit, 0 },
{ "quota_qs_factor", lprocfs_quota_rd_qs_factor, { "quota_qs_factor", lprocfs_quota_rd_qs_factor,
lprocfs_quota_wr_qs_factor, 0 }, lprocfs_quota_wr_qs_factor, 0 },
{ NULL }
}; };
int lquota_proc_setup(struct obd_device *obd, int is_master) int lquota_proc_setup(struct obd_device *obd, int is_master)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment