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:
Frodo Looijaard committed 1998-12-28 15:50:25 +00:00
1 parent afc4714f07
commit d8dce5faf3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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)) */
}
}