X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Flquota_internal.h;h=e4a481c364c5091f6538b27da554f82d0fd85cc8;hb=4774d1fab1ba701900aae61ae40987e64af7a635;hp=f10ed72bb963574371d03bbad895bb5098a092ca;hpb=78be823f33396819724330d7154f054c52e11944;p=fs%2Flustre-release.git diff --git a/lustre/quota/lquota_internal.h b/lustre/quota/lquota_internal.h index f10ed72..e4a481c 100644 --- a/lustre/quota/lquota_internal.h +++ b/lustre/quota/lquota_internal.h @@ -26,6 +26,7 @@ */ #include +#include #include #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; };