Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:59538 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267AbdEJNcC (ORCPT ); Wed, 10 May 2017 09:32:02 -0400 From: David Howells In-Reply-To: <1494422409.2688.13.camel@redhat.com> References: <1494422409.2688.13.camel@redhat.com> <149382747487.30481.15428192741961545429.stgit@warthog.procyon.org.uk> <149382749941.30481.11685229083280551867.stgit@warthog.procyon.org.uk> <10943.1494284264@warthog.procyon.org.uk> <15762.1494322915@warthog.procyon.org.uk> <1494355884.2659.18.camel@redhat.com> <30059.1494403518@warthog.procyon.org.uk> To: Jeff Layton Cc: dhowells@redhat.com, Miklos Szeredi , viro , linux-fsdevel , linux-nfs@vger.kernel.org, lkml Subject: Re: [PATCH 3/9] VFS: Introduce a mount context MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 10 May 2017 14:31:54 +0100 Message-ID: <25115.1494423114@warthog.procyon.org.uk> Sender: linux-nfs-owner@vger.kernel.org List-ID: Jeff Layton wrote: > One idea might be to always kfree it on syscall entry You can't do that otherwise there's no way to retrieve the strings. David