diff options
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r-- | fs/btrfs/sysfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 04087c020845..a240b6fa81df 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c | |||
@@ -67,7 +67,8 @@ struct btrfs_root_attr { | |||
67 | }; | 67 | }; |
68 | 68 | ||
69 | #define ROOT_ATTR(name, mode, show, store) \ | 69 | #define ROOT_ATTR(name, mode, show, store) \ |
70 | static struct btrfs_root_attr btrfs_root_attr_##name = __ATTR(name, mode, show, store) | 70 | static struct btrfs_root_attr btrfs_root_attr_##name = __ATTR(name, mode, \ |
71 | show, store) | ||
71 | 72 | ||
72 | ROOT_ATTR(blocks_used, 0444, root_blocks_used_show, NULL); | 73 | ROOT_ATTR(blocks_used, 0444, root_blocks_used_show, NULL); |
73 | ROOT_ATTR(block_limit, 0644, root_block_limit_show, NULL); | 74 | ROOT_ATTR(block_limit, 0644, root_block_limit_show, NULL); |
@@ -86,7 +87,8 @@ struct btrfs_super_attr { | |||
86 | }; | 87 | }; |
87 | 88 | ||
88 | #define SUPER_ATTR(name, mode, show, store) \ | 89 | #define SUPER_ATTR(name, mode, show, store) \ |
89 | static struct btrfs_super_attr btrfs_super_attr_##name = __ATTR(name, mode, show, store) | 90 | static struct btrfs_super_attr btrfs_super_attr_##name = __ATTR(name, mode, \ |
91 | show, store) | ||
90 | 92 | ||
91 | SUPER_ATTR(blocks_used, 0444, super_blocks_used_show, NULL); | 93 | SUPER_ATTR(blocks_used, 0444, super_blocks_used_show, NULL); |
92 | SUPER_ATTR(total_blocks, 0444, super_total_blocks_show, NULL); | 94 | SUPER_ATTR(total_blocks, 0444, super_total_blocks_show, NULL); |