summaryrefslogtreecommitdiff
path: root/fs/hfs/btree.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-12-09 22:36:01 +0300
committerJean Delvare <khali@linux-fr.org>2009-12-09 22:36:01 +0300
commitfc16c56e694d361388bae701894fd719dbc0f7eb (patch)
tree08f28db4acb5a8c1c045d78777c08d28f5df6820 /fs/hfs/btree.c
parentb69b039922673dfabe0b5774f2e313f2a2297d01 (diff)
downloadlinux-fc16c56e694d361388bae701894fd719dbc0f7eb.tar.xz
hwmon: (f71882fg) Fix sysfs file removal
There is a bug in the old sysfs file removal, as it uses fxxxx_in_temp_attr to remove the in and temp sysfs attributes, but fxxxx_in_temp_attr has temp#_alarm, where as f71858fg_in_temp_attr has temp#_max_alarm, so the temp#_max_alarm attributes for the f71858fg never get removed. This patch fixes this by doing the sysfs removal exactly the same way as the creation instead of being (too) clever, this will also avoid similar bugs in the future. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'fs/hfs/btree.c')
0 files changed, 0 insertions, 0 deletions