Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-8066 obd: final pieces for sysfs/debugfs support.
[fs/lustre-release.git]
/
lustre
/
quota
/
qsd_reint.c
diff --git
a/lustre/quota/qsd_reint.c
b/lustre/quota/qsd_reint.c
index
f5b8f09
..
c2fb89b
100644
(file)
--- a/
lustre/quota/qsd_reint.c
+++ b/
lustre/quota/qsd_reint.c
@@
-21,7
+21,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright (c) 2012, 201
6
, Intel Corporation.
+ * Copyright (c) 2012, 201
7
, Intel Corporation.
* Use is subject to license terms.
*
* Author: Johann Lombardi <johann.lombardi@intel.com>
* Use is subject to license terms.
*
* Author: Johann Lombardi <johann.lombardi@intel.com>
@@
-631,11
+631,14
@@
int qsd_start_reint_thread(struct qsd_qtype_info *qqi)
char *name;
ENTRY;
char *name;
ENTRY;
+ if (qsd->qsd_dev->dd_rdonly)
+ RETURN(0);
+
/* don't bother to do reintegration when quota isn't enabled */
if (!qsd_type_enabled(qsd, qqi->qqi_qtype))
RETURN(0);
/* don't bother to do reintegration when quota isn't enabled */
if (!qsd_type_enabled(qsd, qqi->qqi_qtype))
RETURN(0);
- if (q
sd->qsd
_acct_failed)
+ if (q
qi->qqi
_acct_failed)
/* no space accounting support, can't enable enforcement */
RETURN(0);
/* no space accounting support, can't enable enforcement */
RETURN(0);