diff options
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/sysfs/bin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c index 55796bdacd3d..135353f8a296 100644 --- a/fs/sysfs/bin.c +++ b/fs/sysfs/bin.c | |||
| @@ -40,7 +40,7 @@ fill_read(struct dentry *dentry, char *buffer, loff_t off, size_t count) | |||
| 40 | 40 | ||
| 41 | rc = -EIO; | 41 | rc = -EIO; |
| 42 | if (attr->read) | 42 | if (attr->read) |
| 43 | rc = attr->read(kobj, buffer, off, count); | 43 | rc = attr->read(kobj, attr, buffer, off, count); |
| 44 | 44 | ||
| 45 | sysfs_put_active_two(attr_sd); | 45 | sysfs_put_active_two(attr_sd); |
| 46 | 46 | ||
| @@ -97,7 +97,7 @@ flush_write(struct dentry *dentry, char *buffer, loff_t offset, size_t count) | |||
| 97 | 97 | ||
| 98 | rc = -EIO; | 98 | rc = -EIO; |
| 99 | if (attr->write) | 99 | if (attr->write) |
| 100 | rc = attr->write(kobj, buffer, offset, count); | 100 | rc = attr->write(kobj, attr, buffer, offset, count); |
| 101 | 101 | ||
| 102 | sysfs_put_active_two(attr_sd); | 102 | sysfs_put_active_two(attr_sd); |
| 103 | 103 | ||
