[PATCH 03/15] configfs_detach_prep(): make sure that wait_mutex won't go away

2016-04-15 Thread Al Viro
From: Al Viro 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 --- fs/configfs/dir.c | 17 + 1 file changed, 9

[PATCH 03/15] configfs_detach_prep(): make sure that wait_mutex won't go away

2016-04-15 Thread Al Viro
From: Al Viro 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 --- fs/configfs/dir.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git