Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx> --- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fork.c b/kernel/fork.c index a7c596517bd6..aa2ba1a34ce8 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -696,7 +696,7 @@ void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) { struct file *old_exe_file = rcu_dereference_protected(mm->exe_file, !atomic_read(&mm->mm_users) || current->in_execve || - lock_is_held(&mm->mmap_sem)); + lockdep_is_held(&mm->mmap_sem)); if (new_exe_file) get_file(new_exe_file); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>