diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 6ca7b97114f3..147d50238c7b 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -332,8 +332,7 @@ static ssize_t mqueue_read_file(struct file *filp, char __user *u_data, | |||
332 | (info->notify_owner && | 332 | (info->notify_owner && |
333 | info->notify.sigev_notify == SIGEV_SIGNAL) ? | 333 | info->notify.sigev_notify == SIGEV_SIGNAL) ? |
334 | info->notify.sigev_signo : 0, | 334 | info->notify.sigev_signo : 0, |
335 | pid_nr_ns(info->notify_owner, | 335 | pid_vnr(info->notify_owner)); |
336 | current->nsproxy->pid_ns)); | ||
337 | spin_unlock(&info->lock); | 336 | spin_unlock(&info->lock); |
338 | buffer[sizeof(buffer)-1] = '\0'; | 337 | buffer[sizeof(buffer)-1] = '\0'; |
339 | slen = strlen(buffer)+1; | 338 | slen = strlen(buffer)+1; |