Whamcloud - gitweb
LU-17038 tests: remove munlink utility
[fs/lustre-release.git] / lustre / quota / lquota_internal.h
index f10ed72..e4a481c 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <obd.h>
+#include <dt_object.h>
 #include <lustre_quota.h>
 
 #ifndef _LQUOTA_INTERNAL_H
@@ -187,8 +188,11 @@ struct lquota_entry {
                        lqe_nopreacq:1,   /* pre-acquire disabled */
                        lqe_is_default:1, /* the default quota is used */
                        lqe_is_global:1,  /* lqe belongs to global pool "0x0"*/
-                       lqe_is_deleted:1; /* lqe will be deleted soon */
+                       lqe_is_deleted:1, /* lqe will be deleted soon */
+                       lqe_is_reset:1;   /* lqe has been reset */
 
+       /* the lock to protect lqe_glbl_data */
+       struct mutex             lqe_glbl_data_lock;
        struct lqe_glbl_data    *lqe_glbl_data;
 };