diff options
Diffstat (limited to 'fs/sysfs/file.c')
-rw-r--r-- | fs/sysfs/file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index e9cfa39f4099..d72c1ce48559 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #define to_subsys(k) container_of(k,struct subsystem,kset.kobj) | 14 | #define to_subsys(k) container_of(k,struct subsystem,kset.kobj) |
15 | #define to_sattr(a) container_of(a,struct subsys_attribute,attr) | 15 | #define to_sattr(a) container_of(a,struct subsys_attribute,attr) |
16 | 16 | ||
17 | /** | 17 | /* |
18 | * Subsystem file operations. | 18 | * Subsystem file operations. |
19 | * These operations allow subsystems to have files that can be | 19 | * These operations allow subsystems to have files that can be |
20 | * read/written. | 20 | * read/written. |
@@ -192,8 +192,9 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t | |||
192 | 192 | ||
193 | /** | 193 | /** |
194 | * flush_write_buffer - push buffer to kobject. | 194 | * flush_write_buffer - push buffer to kobject. |
195 | * @file: file pointer. | 195 | * @dentry: dentry to the attribute |
196 | * @buffer: data buffer for file. | 196 | * @buffer: data buffer for file. |
197 | * @count: number of bytes | ||
197 | * | 198 | * |
198 | * Get the correct pointers for the kobject and the attribute we're | 199 | * Get the correct pointers for the kobject and the attribute we're |
199 | * dealing with, then call the store() method for the attribute, | 200 | * dealing with, then call the store() method for the attribute, |