Whamcloud - gitweb
LU-15021 quota: protect lqe_glbl_data in lqe
[fs/lustre-release.git] / lustre / quota / lquota_internal.h
index f10ed72..442b19e 100644 (file)
@@ -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;
 };