diff options
-rw-r--r-- | fs/nilfs2/sysfs.c | 4 | ||||
-rw-r--r-- | fs/nilfs2/sysfs.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/nilfs2/sysfs.c b/fs/nilfs2/sysfs.c index bbb0dcc35905..3e7d85335adf 100644 --- a/fs/nilfs2/sysfs.c +++ b/fs/nilfs2/sysfs.c | |||
@@ -68,7 +68,7 @@ static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \ | |||
68 | static const struct sysfs_ops nilfs_##name##_attr_ops = { \ | 68 | static const struct sysfs_ops nilfs_##name##_attr_ops = { \ |
69 | .show = nilfs_##name##_attr_show, \ | 69 | .show = nilfs_##name##_attr_show, \ |
70 | .store = nilfs_##name##_attr_store, \ | 70 | .store = nilfs_##name##_attr_store, \ |
71 | }; | 71 | } |
72 | 72 | ||
73 | #define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \ | 73 | #define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \ |
74 | static void nilfs_##name##_attr_release(struct kobject *kobj) \ | 74 | static void nilfs_##name##_attr_release(struct kobject *kobj) \ |
@@ -84,7 +84,7 @@ static struct kobj_type nilfs_##name##_ktype = { \ | |||
84 | .default_attrs = nilfs_##name##_attrs, \ | 84 | .default_attrs = nilfs_##name##_attrs, \ |
85 | .sysfs_ops = &nilfs_##name##_attr_ops, \ | 85 | .sysfs_ops = &nilfs_##name##_attr_ops, \ |
86 | .release = nilfs_##name##_attr_release, \ | 86 | .release = nilfs_##name##_attr_release, \ |
87 | }; | 87 | } |
88 | 88 | ||
89 | #define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \ | 89 | #define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \ |
90 | static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \ | 90 | static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \ |
diff --git a/fs/nilfs2/sysfs.h b/fs/nilfs2/sysfs.h index 677e3a1a8370..648cedf9c06e 100644 --- a/fs/nilfs2/sysfs.h +++ b/fs/nilfs2/sysfs.h | |||
@@ -66,7 +66,7 @@ struct nilfs_##name##_attr { \ | |||
66 | char *); \ | 66 | char *); \ |
67 | ssize_t (*store)(struct kobject *, struct attribute *, \ | 67 | ssize_t (*store)(struct kobject *, struct attribute *, \ |
68 | const char *, size_t); \ | 68 | const char *, size_t); \ |
69 | }; | 69 | } |
70 | 70 | ||
71 | NILFS_COMMON_ATTR_STRUCT(feature); | 71 | NILFS_COMMON_ATTR_STRUCT(feature); |
72 | 72 | ||
@@ -77,7 +77,7 @@ struct nilfs_##name##_attr { \ | |||
77 | char *); \ | 77 | char *); \ |
78 | ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \ | 78 | ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \ |
79 | const char *, size_t); \ | 79 | const char *, size_t); \ |
80 | }; | 80 | } |
81 | 81 | ||
82 | NILFS_DEV_ATTR_STRUCT(dev); | 82 | NILFS_DEV_ATTR_STRUCT(dev); |
83 | NILFS_DEV_ATTR_STRUCT(segments); | 83 | NILFS_DEV_ATTR_STRUCT(segments); |
@@ -93,7 +93,7 @@ struct nilfs_##name##_attr { \ | |||
93 | char *); \ | 93 | char *); \ |
94 | ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \ | 94 | ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \ |
95 | const char *, size_t); \ | 95 | const char *, size_t); \ |
96 | }; | 96 | } |
97 | 97 | ||
98 | NILFS_CP_ATTR_STRUCT(snapshot); | 98 | NILFS_CP_ATTR_STRUCT(snapshot); |
99 | 99 | ||