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
--