]> err.no Git - linux-2.6/commit
ecryptfs: remove unnecessary mux from ecryptfs_init_ecryptfs_miscdev()
authorMichael Halcrow <mhalcrow@us.ibm.com>
Fri, 4 Jul 2008 16:59:35 +0000 (09:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jul 2008 17:40:05 +0000 (10:40 -0700)
commitc4a2d7fbec3029c8891a3ad5fceec2992096a3b7
tree73d1580628737c54c9d4fed86278e9edc4dab4d2
parent10dd08dc04c881dcc9f7f19e2a3ad8e0778e4db5
ecryptfs: remove unnecessary mux from ecryptfs_init_ecryptfs_miscdev()

The misc_mtx should provide all the protection required to keep the daemon
hash table sane during miscdev registration.  Since this mutex is causing
gratuitous lockdep warnings, this patch removes it.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/miscdev.c