diff options
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/sched.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 7751d3a05497..0d7be1642dc0 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
@@ -67,12 +67,6 @@ struct rpc_task { | |||
67 | const struct rpc_call_ops *tk_ops; | 67 | const struct rpc_call_ops *tk_ops; |
68 | void * tk_calldata; | 68 | void * tk_calldata; |
69 | 69 | ||
70 | /* | ||
71 | * tk_timer is used for async processing by the RPC scheduling | ||
72 | * primitives. You should not access this directly unless | ||
73 | * you have a pathological interest in kernel oopses. | ||
74 | */ | ||
75 | struct timer_list tk_timer; /* kernel timer */ | ||
76 | unsigned long tk_timeout; /* timeout for rpc_sleep() */ | 70 | unsigned long tk_timeout; /* timeout for rpc_sleep() */ |
77 | unsigned short tk_flags; /* misc flags */ | 71 | unsigned short tk_flags; /* misc flags */ |
78 | unsigned long tk_runstate; /* Task run status */ | 72 | unsigned long tk_runstate; /* Task run status */ |
@@ -149,8 +143,7 @@ struct rpc_task_setup { | |||
149 | #define RPC_TASK_RUNNING 0 | 143 | #define RPC_TASK_RUNNING 0 |
150 | #define RPC_TASK_QUEUED 1 | 144 | #define RPC_TASK_QUEUED 1 |
151 | #define RPC_TASK_WAKEUP 2 | 145 | #define RPC_TASK_WAKEUP 2 |
152 | #define RPC_TASK_HAS_TIMER 3 | 146 | #define RPC_TASK_ACTIVE 3 |
153 | #define RPC_TASK_ACTIVE 4 | ||
154 | 147 | ||
155 | #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) | 148 | #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) |
156 | #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) | 149 | #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) |