Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fbde1
)
b=17917
author
anserper
<anserper>
Tue, 9 Dec 2008 03:21:35 +0000
(
03:21
+0000)
committer
anserper
<anserper>
Tue, 9 Dec 2008 03:21:35 +0000
(
03:21
+0000)
i=Alexander Zarochentsev
i=Johann Lombardi
add a trailing zero to avoid oops from proc entry creation routines
lustre/quota/lproc_quota.c
patch
|
blob
|
history
diff --git
a/lustre/quota/lproc_quota.c
b/lustre/quota/lproc_quota.c
index
a76807a
..
ba9492f
100644
(file)
--- 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)