[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
open a file in spin_lock_irq()
Hello,
I wrote a piece of kernel code that deals with new structure. Those stucture
are manipulated by a driver. So, I implemented a classical ioctl() with a switch
to select appropriate action to perform. One of this action is to remove a data
from a list:
int my_ioctl(...) {
...
switch(cmd) {
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/