oprofilefs: add missing ->i_mutex locking in object creation
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 28 Jan 2013 19:42:42 +0000 (14:42 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Feb 2013 04:31:38 +0000 (23:31 -0500)
commit3f3834c35466324e3a7d7bf3a950dbcd99645f38
tree7ce8af76f87049b672d4625a13317bb8ba3470d9
parent2248b87ec1d9f59001d8c69513b2892ac04a2a3d
oprofilefs: add missing ->i_mutex locking in object creation

Right now it's safe only during initial mount *and* functions are asking
to be abused for dynamic adding of objects.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/oprofile/oprofilefs.c