diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/partitions/check.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index 6d720243f5f4..01714efdc65a 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -268,6 +268,10 @@ ssize_t part_fail_store(struct device *dev, | |||
268 | } | 268 | } |
269 | #endif | 269 | #endif |
270 | 270 | ||
271 | #ifdef CONFIG_BLK_DEV_IO_TRACE | ||
272 | extern struct attribute_group blk_trace_attr_group; | ||
273 | #endif | ||
274 | |||
271 | static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL); | 275 | static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL); |
272 | static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); | 276 | static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); |
273 | static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); | 277 | static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); |
@@ -294,6 +298,9 @@ static struct attribute_group part_attr_group = { | |||
294 | 298 | ||
295 | static struct attribute_group *part_attr_groups[] = { | 299 | static struct attribute_group *part_attr_groups[] = { |
296 | &part_attr_group, | 300 | &part_attr_group, |
301 | #ifdef CONFIG_BLK_DEV_IO_TRACE | ||
302 | &blk_trace_attr_group, | ||
303 | #endif | ||
297 | NULL | 304 | NULL |
298 | }; | 305 | }; |
299 | 306 | ||