staging: lustre: remove CFS_DECL_WAITQ() macro
Just use DECLARE_WAIT_QUEUE_HEAD() instead. Cc: Peng Tao <tao.peng@emc.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5431935116
commit
2f5723a1bf
@ -88,12 +88,8 @@ typedef struct proc_dir_entry proc_dir_entry_t;
|
||||
/*
|
||||
* Wait Queue
|
||||
*/
|
||||
|
||||
|
||||
typedef long cfs_task_state_t;
|
||||
|
||||
#define CFS_DECL_WAITQ(wq) DECLARE_WAIT_QUEUE_HEAD(wq)
|
||||
|
||||
/*
|
||||
* Task struct
|
||||
*/
|
||||
|
@ -582,7 +582,7 @@ void osc_page_submit(const struct lu_env *env, struct osc_page *opg,
|
||||
* at any time.
|
||||
*/
|
||||
|
||||
static CFS_DECL_WAITQ(osc_lru_waitq);
|
||||
static DECLARE_WAIT_QUEUE_HEAD(osc_lru_waitq);
|
||||
static atomic_t osc_lru_waiters = ATOMIC_INIT(0);
|
||||
/* LRU pages are freed in batch mode. OSC should at least free this
|
||||
* number of pages to avoid running out of LRU budget, and.. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user