Updated structs to use completion{} and wait_queue_head_t{} and added struct size checkes in hfi1_aio_write()
This commit is contained in:
committed by
Balazs Gerofi
parent
1c4a6568e6
commit
74a636a612
@ -113,10 +113,11 @@ struct kref {
|
||||
atomic_t refcount;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct wait_queue_head_t {
|
||||
spinlock_t lock;
|
||||
struct list_head task_list;
|
||||
} wait_queue_head_t ;
|
||||
};
|
||||
typedef struct wait_queue_head_t wait_queue_head_t;
|
||||
|
||||
struct completion {
|
||||
unsigned int done;
|
||||
|
||||
Reference in New Issue
Block a user