Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752633AbdHPUak (ORCPT ); Wed, 16 Aug 2017 16:30:40 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:35827 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752259AbdHPUaj (ORCPT ); Wed, 16 Aug 2017 16:30:39 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170816171211.4021-1-christian.brauner@ubuntu.com> <20170816194805.hnof3aqiqykwki7p@gmail.com> From: Linus Torvalds Date: Wed, 16 Aug 2017 13:30:38 -0700 X-Google-Sender-Auth: pXRw9GIFFZODqGVxpVAHN9O9Eyg Message-ID: Subject: Re: [PATCH 0/1] devpts: use dynamic_dname() to generate proc name To: Christian Brauner Cc: Christian Brauner , Linux Kernel Mailing List , "Serge E. Hallyn" , Al Viro Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 471 Lines: 13 On Wed, Aug 16, 2017 at 1:19 PM, Linus Torvalds wrote: > > Anyway, I know what's wrong, next step is to figure out what the fix is. Grr, We actually look up the right mnt in devpts_acquire(), but we don't save it. We only save the superblock pointer, because that's traditionally what we used. I suspect the easiest fix is to just add a "mnt" argument to devpts_acquire(), It shouldn't be too painful. Let me try. Linus