]> git.baikalelectronics.ru Git - kernel.git/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)
commit1ea6957b13cab0f6e210150485ae169dc730de3c
tree73d1580628737c54c9d4fed86278e9edc4dab4d2
parent8c495b43c93799a2d48461242441c7a42dc50673
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