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-15021 quota: protect lqe_glbl_data in lqe
[fs/lustre-release.git]
/
lustre
/
quota
/
qsd_entry.c
diff --git
a/lustre/quota/qsd_entry.c
b/lustre/quota/qsd_entry.c
index
ae724ec
..
12b877d
100644
(file)
--- a/
lustre/quota/qsd_entry.c
+++ b/
lustre/quota/qsd_entry.c
@@
-50,6
+50,7
@@
static void qsd_lqe_init(struct lquota_entry *lqe, void *arg)
init_waitqueue_head(&lqe->lqe_waiters);
lqe->lqe_usage = 0;
lqe->lqe_nopreacq = false;
+ mutex_init(&lqe->lqe_glbl_data_lock);
}
/*