From: anserper Date: Tue, 9 Dec 2008 03:21:35 +0000 (+0000) Subject: b=17917 X-Git-Tag: v1_9_120~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4138b92bbb3fe9e25b347ced0bf411c5c01ff460;p=fs%2Flustre-release.git b=17917 i=Alexander Zarochentsev i=Johann Lombardi add a trailing zero to avoid oops from proc entry creation routines --- diff --git a/lustre/quota/lproc_quota.c b/lustre/quota/lproc_quota.c index a76807a..ba9492f 100644 --- a/lustre/quota/lproc_quota.c +++ b/lustre/quota/lproc_quota.c @@ -547,6 +547,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[] = { @@ -560,6 +561,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)