From 970690fa429058efba0ebeff1d763a749fe01126 Mon Sep 17 00:00:00 2001 From: anserper Date: Tue, 9 Dec 2008 03:07:13 +0000 Subject: [PATCH] b=17917 i=Alexander Zarochentsev i=Johann Lombardi add a trailing zero to avoid oops from proc entry creation routines --- lustre/quota/lproc_quota.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/quota/lproc_quota.c b/lustre/quota/lproc_quota.c index 3cb42aa..bfc86f9 100644 --- a/lustre/quota/lproc_quota.c +++ b/lustre/quota/lproc_quota.c @@ -650,6 +650,7 @@ struct lprocfs_vars lprocfs_quota_common_vars[] = { lprocfs_quota_wr_switch_seconds, 0 }, { "quota_sync_blk", lprocfs_quota_rd_sync_blk, lprocfs_quota_wr_sync_blk, 0}, + { NULL } }; struct lprocfs_vars lprocfs_quota_master_vars[] = { @@ -663,6 +664,7 @@ struct lprocfs_vars lprocfs_quota_master_vars[] = { lprocfs_quota_wr_least_iunit, 0 }, { "quota_qs_factor", lprocfs_quota_rd_qs_factor, lprocfs_quota_wr_qs_factor, 0 }, + { NULL } }; int lquota_proc_setup(struct obd_device *obd, int is_master) -- 1.8.3.1