From c4d54fab1444170beb5faf6e20b1bb1a87abb933 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 2 Dec 2011 14:13:15 +1100 Subject: [PATCH] ipc/mqueue: lock() => unlock() typo There was a double lock typo introduced in b085f4bd6b21 "user namespace: make signal.c respect user namespaces" Signed-off-by: Dan Carpenter Cc: Oleg Nesterov Cc: Matt Helsley Cc: "Eric W. Biederman" Acked-by: Serge Hallyn Signed-off-by: Andrew Morton --- ipc/mqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 691cfee652f9..c246c8307ee7 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -558,7 +558,7 @@ static void __do_notify(struct mqueue_inode_info *info) ns_of_pid(info->notify_owner)); sig_i.si_uid = user_ns_map_uid(info->user->user_ns, current_cred(), current_uid()); - rcu_read_lock(); + rcu_read_unlock(); kill_pid_info(info->notify.sigev_signo, &sig_i, info->notify_owner); -- 2.39.5