Re: files_lock deadlock?

From: Jan Engelhardt
Date: Tue Jul 19 2005 - 12:50:56 EST



> I noticed that files_lock is only protected with spin_lock() (file_list_lock(),
> include/linux/fs.h). Is it possible that this should be changed to
> spin_lock_irq()) or spin_lock_irqsave()? Or am I misssing something obvious?

I'm probably stabbing in the dark, but I've seen ipt_owner of netfilter to
talk about spin_lock_bh() wrt. files->file_lock.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/