diff options
author | Johann Latocha | 2012-01-30 22:15:44 +0100 |
---|---|---|
committer | Johann Latocha | 2012-01-30 22:15:44 +0100 |
commit | 1dc88febdcb2a1d09dfca592bb47106512526b29 (patch) | |
tree | 8fc188c761ec13d6fa96f206ee3c00117a8204d2 /src/kernel/dnbd3.h | |
parent | [SERVER] Timeout for client sockets (diff) | |
download | dnbd3-1dc88febdcb2a1d09dfca592bb47106512526b29.tar.gz dnbd3-1dc88febdcb2a1d09dfca592bb47106512526b29.tar.xz dnbd3-1dc88febdcb2a1d09dfca592bb47106512526b29.zip |
[ALL] Reformat (line wrapping, indent)
Diffstat (limited to 'src/kernel/dnbd3.h')
-rw-r--r-- | src/kernel/dnbd3.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/kernel/dnbd3.h b/src/kernel/dnbd3.h index 6f31c07..ec9dd6e 100644 --- a/src/kernel/dnbd3.h +++ b/src/kernel/dnbd3.h @@ -33,25 +33,25 @@ extern int major; struct dnbd3_device { - // block - struct gendisk *disk; - spinlock_t blk_lock; - - // network - char host[16]; - char port[6]; - char image_id[MAX_FILE_NAME]; - struct socket *sock; - struct timer_list hb_timer; - struct request hb_request; - - // process - struct task_struct *thread_send; - struct task_struct *thread_receive; - wait_queue_head_t process_queue_send; - wait_queue_head_t process_queue_receive; - struct list_head request_queue_send; - struct list_head request_queue_receive; + // block + struct gendisk *disk; + spinlock_t blk_lock; + + // network + char host[16]; + char port[6]; + char image_id[MAX_FILE_NAME]; + struct socket *sock; + struct timer_list hb_timer; + struct request hb_request; + + // process + struct task_struct *thread_send; + struct task_struct *thread_receive; + wait_queue_head_t process_queue_send; + wait_queue_head_t process_queue_receive; + struct list_head request_queue_send; + struct list_head request_queue_receive; }; |