Re: [-mm patch] lockdep: possible deadlock in sysfs

From: Oliver Neukum
Date: Fri Jan 05 2007 - 07:48:29 EST


Am Freitag, 5. Januar 2007 13:16 schrieb Frederik Deweerdt:
> This is due to sysfs_hash_and_remove() holding dir->d_inode->i_mutex
> before calling sysfs_drop_dentry() which calls orphan_all_buffers()
> which in turn takes node->i_mutex.

This makes me wonder why it didn't deadlock during my tests.
I am investigating.

Regards
Oliver
-
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/