Make lockdep happy with configfs

From: Louis Rilling
Date: Thu Dec 18 2008 - 13:00:31 EST



Hi,

Here is a patchset implementing a more lockdep-friendly solution to make lockdep
happy with configfs.

The first patch could probably be cleaner, but first let's see if the
approach is ok.
I don't have a good setup to test the second patch beyond compilation, but I
guess that Joel has one :)

So, does it look better?

Louis

Louis Rilling (2):
configfs: Silence lockdep on mkdir() and rmdir()
configfs: Rework configfs_depend_item() locking and make lockdep happy

fs/configfs/configfs_internal.h | 3 +
fs/configfs/dir.c | 131 +++++++++++++++++++++++----------------
fs/configfs/inode.c | 28 ++++++++
3 files changed, 108 insertions(+), 54 deletions(-)
--
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes
http://www.kerlabs.com/ 35700 Rennes
--
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/