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
/
lquota_internal.h
diff --git
a/lustre/quota/lquota_internal.h
b/lustre/quota/lquota_internal.h
index
f10ed72
..
442b19e
100644
(file)
--- a/
lustre/quota/lquota_internal.h
+++ b/
lustre/quota/lquota_internal.h
@@
-189,6
+189,8
@@
struct lquota_entry {
lqe_is_global:1, /* lqe belongs to global pool "0x0"*/
lqe_is_deleted:1; /* lqe will be deleted soon */
+ /* the lock to protect lqe_glbl_data */
+ struct mutex lqe_glbl_data_lock;
struct lqe_glbl_data *lqe_glbl_data;
};