diff options
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index 7c2e030e72f1..afc1343df3c7 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <linux/relay.h> | 5 | #include <linux/relay.h> |
6 | #include <linux/compat.h> | 6 | #include <linux/compat.h> |
7 | #include <uapi/linux/blktrace_api.h> | 7 | #include <uapi/linux/blktrace_api.h> |
8 | #include <linux/list.h> | ||
8 | 9 | ||
9 | #if defined(CONFIG_BLK_DEV_IO_TRACE) | 10 | #if defined(CONFIG_BLK_DEV_IO_TRACE) |
10 | 11 | ||
@@ -23,6 +24,7 @@ struct blk_trace { | |||
23 | struct dentry *dir; | 24 | struct dentry *dir; |
24 | struct dentry *dropped_file; | 25 | struct dentry *dropped_file; |
25 | struct dentry *msg_file; | 26 | struct dentry *msg_file; |
27 | struct list_head running_list; | ||
26 | atomic_t dropped; | 28 | atomic_t dropped; |
27 | }; | 29 | }; |
28 | 30 | ||
@@ -87,7 +89,7 @@ static inline int blk_trace_init_sysfs(struct device *dev) | |||
87 | #ifdef CONFIG_COMPAT | 89 | #ifdef CONFIG_COMPAT |
88 | 90 | ||
89 | struct compat_blk_user_trace_setup { | 91 | struct compat_blk_user_trace_setup { |
90 | char name[32]; | 92 | char name[BLKTRACE_BDEV_SIZE]; |
91 | u16 act_mask; | 93 | u16 act_mask; |
92 | u32 buf_size; | 94 | u32 buf_size; |
93 | u32 buf_nr; | 95 | u32 buf_nr; |