release module
This commit is contained in:
parent
cde1943c73
commit
72a872ae99
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ lkm_release(struct inode *inode, struct file *fp)
|
||||||
{
|
{
|
||||||
printk(KERN_INFO "lkm: release: start\n");
|
printk(KERN_INFO "lkm: release: start\n");
|
||||||
|
|
||||||
|
module_put(THIS_MODULE);
|
||||||
|
|
||||||
printk(KERN_INFO "lkm: release: done\n");
|
printk(KERN_INFO "lkm: release: done\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue