X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_entry.c;h=f4e26a02b87739869bbf143694568867780358c2;hb=59a59cc9d33f94fb857129b255ad42f393d7242e;hp=866820102944be79766d848a4dbf6317cb3e0f9e;hpb=966d0a25ba7ad6f4a58cdd25748fa356d8880e9b;p=fs%2Flustre-release.git diff --git a/lustre/quota/qsd_entry.c b/lustre/quota/qsd_entry.c index 8668201..f4e26a0 100644 --- a/lustre/quota/qsd_entry.c +++ b/lustre/quota/qsd_entry.c @@ -28,10 +28,6 @@ * Author: Niu Yawei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_LQUOTA #include "qsd_internal.h" @@ -51,7 +47,7 @@ static void qsd_lqe_init(struct lquota_entry *lqe, void *arg) memset(&lqe->lqe_lockh, 0, sizeof(lqe->lqe_lockh)); lqe->lqe_pending_write = 0; lqe->lqe_pending_req = 0; - cfs_waitq_init(&lqe->lqe_waiters); + init_waitqueue_head(&lqe->lqe_waiters); lqe->lqe_usage = 0; lqe->lqe_nopreacq = false; }