]> git.baikalelectronics.ru Git - kernel.git/commit
configfs_detach_prep(): make sure that wait_mutex won't go away
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 12 Apr 2016 04:37:59 +0000 (00:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:47:22 +0000 (19:47 -0400)
commit7935e2b401c21aeff48905222cad8b94b737fdb1
tree762d2c58ee6f2bdcb99f27fcbc91a259e79a9a9c
parent8e8db799e63cf989994f26d188d0f17f8f62d3f4
configfs_detach_prep(): make sure that wait_mutex won't go away

grab a reference to dentry we'd got the sucker from, and return
that dentry via *wait, rather than just returning the address of
->i_mutex.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/configfs/dir.c