aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/partitions/check.c7
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
272extern struct attribute_group blk_trace_attr_group;
273#endif
274
271static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL); 275static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL);
272static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); 276static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL);
273static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); 277static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL);
@@ -294,6 +298,9 @@ static struct attribute_group part_attr_group = {
294 298
295static struct attribute_group *part_attr_groups[] = { 299static 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