|
@@ -98,14 +98,15 @@ static inline struct io_context *ioc_task_link(struct io_context *ioc)
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+struct task_struct;
|
|
#ifdef CONFIG_BLOCK
|
|
#ifdef CONFIG_BLOCK
|
|
int put_io_context(struct io_context *ioc);
|
|
int put_io_context(struct io_context *ioc);
|
|
-void exit_io_context(void);
|
|
|
|
|
|
+void exit_io_context(struct task_struct *task);
|
|
struct io_context *get_io_context(gfp_t gfp_flags, int node);
|
|
struct io_context *get_io_context(gfp_t gfp_flags, int node);
|
|
struct io_context *alloc_io_context(gfp_t gfp_flags, int node);
|
|
struct io_context *alloc_io_context(gfp_t gfp_flags, int node);
|
|
void copy_io_context(struct io_context **pdst, struct io_context **psrc);
|
|
void copy_io_context(struct io_context **pdst, struct io_context **psrc);
|
|
#else
|
|
#else
|
|
-static inline void exit_io_context(void)
|
|
|
|
|
|
+static inline void exit_io_context(struct task_struct *task)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
|