ChangeSet 1.2440, 2004/11/01 13:02:55-08:00, akpm@osdl.org [PATCH] fix oops with firmware loading From: Maneesh Soni My fault, a bad typo in fs/sysfs/bin.c. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman fs/sysfs/bin.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -Nru a/fs/sysfs/bin.c b/fs/sysfs/bin.c --- a/fs/sysfs/bin.c 2004-11-01 13:37:25 -08:00 +++ b/fs/sysfs/bin.c 2004-11-01 13:37:25 -08:00 @@ -60,8 +60,8 @@ static int flush_write(struct dentry *dentry, char *buffer, loff_t offset, size_t count) { - struct bin_attribute *attr = to_bin_attr(dentry->d_parent); - struct kobject *kobj = to_kobj(dentry); + struct bin_attribute *attr = to_bin_attr(dentry); + struct kobject *kobj = to_kobj(dentry->d_parent); return attr->write(kobj, buffer, offset, count); }