struct orangefs_upcall_s upcall;
struct orangefs_downcall_s downcall;
- wait_queue_head_t waitq;
+ struct completion waitq;
spinlock_t lock;
struct completion done;
static inline void set_op_state_serviced(struct orangefs_kernel_op_s *op)
{
op->op_state = OP_VFS_STATE_SERVICED;
- wake_up_interruptible(&op->waitq);
+ complete(&op->waitq);
}
#define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING)
put_cancel(op);
} else {
op->op_state |= OP_VFS_STATE_PURGED;
- wake_up_interruptible(&op->waitq);
+ complete(&op->waitq);
spin_unlock(&op->lock);
}
}