mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-25 12:14:33 +00:00
fill_inode bug resolved
This could lead to memory corruption and to the could-not-unload-module problem of earlier reports. With a little luck, this will resolve all module loading/unloading problems reported. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@132 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
afc4714f07
commit
d8dce5faf3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -199,7 +199,7 @@ void sensors_deregister_entry(int id)
|
||||
kfree(table);
|
||||
sensors_entries[id] = NULL;
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58))
|
||||
sensors_clients[id-256] = NULL;
|
||||
sensors_clients[id] = NULL;
|
||||
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58)) */
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -199,7 +199,7 @@ void sensors_deregister_entry(int id)
|
||||
kfree(table);
|
||||
sensors_entries[id] = NULL;
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58))
|
||||
sensors_clients[id-256] = NULL;
|
||||
sensors_clients[id] = NULL;
|
||||
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58)) */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user