Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.development.system > #576

rmmod with a kernel delayed work running in the loadable kernel module

Newsgroups comp.os.linux.development.system
Date 2013-11-14 18:56 -0800
Message-ID <79e9876e-cd2c-42aa-8f43-47d5dfb77a20@googlegroups.com> (permalink)
Subject rmmod with a kernel delayed work running in the loadable kernel module
From Shankar Vaideeswaran <sankaranarayanan.vaideeswaran@gmail.com>

Show all headers | View raw


Hi,

I am kind of a beginner in Linux kernel and I am facing the following problem:

I have a kernel module, that has a delayed work initialized to log some things to a file periodically. I am using filp_open, vfs_write to do so.

When i want to unload the module, its not allowing the operation as expected because i have the file pointer open.

are there any callbacks/commands, that will tell the kernel module to close such a reference and rmmod the module?

thanks a lot.

Back to comp.os.linux.development.system | Previous | NextNext in thread | Find similar


Thread

rmmod with a kernel delayed work running in the loadable kernel module Shankar Vaideeswaran <sankaranarayanan.vaideeswaran@gmail.com> - 2013-11-14 18:56 -0800
  Re: rmmod with a kernel delayed work running in the loadable kernel module Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2013-11-14 22:52 -0500

csiph-web