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:
a4d0ed7
)
Branch b1_8_gate
author
tianzy
<tianzy>
Wed, 8 Oct 2008 12:30:52 +0000
(12:30 +0000)
committer
tianzy
<tianzy>
Wed, 8 Oct 2008 12:30:52 +0000
(12:30 +0000)
fix compiling error when CONFIG_QUOTA isn't set.
b=16481
i=shadow
i=panda
lustre/quota/quota_context.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_context.c
b/lustre/quota/quota_context.c
index
9169074
..
fc9b8c5
100644
(file)
--- a/
lustre/quota/quota_context.c
+++ b/
lustre/quota/quota_context.c
@@
-1096,7
+1096,7
@@
qctxt_init(struct obd_device *obd, dqacq_handler_t handler)
qctxt->lqc_cqs_least_iunit = 2;
qctxt->lqc_cqs_qs_factor = 2;
qctxt->lqc_flags = 0;
-
qctxt->lqc_setup = 0
;
+
QUOTA_MASTER_UNREADY(qctxt)
;
qctxt->lqc_bunit_sz = default_bunit_sz;
qctxt->lqc_btune_sz = default_bunit_sz / 100 * default_btune_ratio;
qctxt->lqc_iunit_sz = default_iunit_sz;