diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-01-05 21:25:51 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-01-05 21:25:51 -0500 |
commit | d397712bcc6a759a560fd247e6053ecae091f958 (patch) | |
tree | 9da8daebb870d8b8b1843507c4621715e23dd31a /fs/btrfs/sysfs.c | |
parent | 1f3c79a28c8837e8572b98f6d14142d9a6133c56 (diff) |
Btrfs: Fix checkpatch.pl warnings
There were many, most are fixed now. struct-funcs.c generates some warnings
but these are bogus.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
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); |