diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-01-26 12:00:56 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-26 12:30:01 -0500 |
commit | 157f9c00e88529ed84bd7d581a40d411e5414cf0 (patch) | |
tree | 7d7360cd76c5339c831e0e5ffd3cce5a659a9614 /fs | |
parent | c71a896154119f4ca9e89d6078f5f63ad60ef199 (diff) |
tracing/blktrace: fix up checkpatch reported problems in ftrace plugin patch
Also make sure sparse (make C=2 block/blktrace.o) is happy too.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/partitions/check.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index 01714efdc65a..8a17f7edcc74 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/kmod.h> | 19 | #include <linux/kmod.h> |
20 | #include <linux/ctype.h> | 20 | #include <linux/ctype.h> |
21 | #include <linux/genhd.h> | 21 | #include <linux/genhd.h> |
22 | #include <linux/blktrace_api.h> | ||
22 | 23 | ||
23 | #include "check.h" | 24 | #include "check.h" |
24 | 25 | ||
@@ -268,10 +269,6 @@ ssize_t part_fail_store(struct device *dev, | |||
268 | } | 269 | } |
269 | #endif | 270 | #endif |
270 | 271 | ||
271 | #ifdef CONFIG_BLK_DEV_IO_TRACE | ||
272 | extern struct attribute_group blk_trace_attr_group; | ||
273 | #endif | ||
274 | |||
275 | static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL); | 272 | static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL); |
276 | static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); | 273 | static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); |
277 | static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); | 274 | static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); |