On 12/06/06, kanishk rastogi <kanishk_rastogi85@xxxxxxxxx> wrote:
hi all, i am writing a scsi low layer driver .in its queuecommand func i want to write to a file. this func is called in interrupt (soft irq) context.
Please search both the kernelnewbies and linux-kernel mailing list archives for why you should *not* write to files from the kernel - it has been discussed to death several times over. Here are some starting points : http://mail.nl.linux.org/kernelnewbies/2006-05/msg00021.html http://kasperd.net/~kasperd/comp.os.linux.development.faq <-- see number 10. http://www.linuxjournal.com/article/8110 -- Jesper Juhl <jesper.juhl@xxxxxxxxx> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/