From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/2] vfs: export symbol 'getname' and 'putname' Date: Tue, 21 Apr 2015 23:31:10 -0700 Message-ID: <20150422063110.GA25768@infradead.org> References: <1429674624-25922-1-git-send-email-boqun.feng@gmail.com> <1429674624-25922-2-git-send-email-boqun.feng@gmail.com> <20150422055311.GB3731@infradead.org> <498CF73A-6CB4-4C17-8953-B4AAA855A3DF@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Boqun Feng , "" , "" , "" , Al Viro , "Dilger, Andreas" , Greg Kroah-Hartman , Jan Kara To: "Drokin, Oleg" Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:36412 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988AbbDVGbL (ORCPT ); Wed, 22 Apr 2015 02:31:11 -0400 Content-Disposition: inline In-Reply-To: <498CF73A-6CB4-4C17-8953-B4AAA855A3DF@intel.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Apr 22, 2015 at 06:27:11AM +0000, Drokin, Oleg wrote: > > Nak on exporting symbols for broken staging code. Please get rid of > > the ioctls looking up path names in horrible ways in the lustre code. > > For a reference, is there a good example of a non-horrible way to look up a pathname? Just dont do it from an ioctl, it's got an fd parameter for a reason.