From: David Howells Subject: Re: [PATCH 1/2] vfs: add file_path() helper Date: Fri, 19 Jun 2015 09:49:09 +0100 Message-ID: <7199.1434703749@warthog.procyon.org.uk> References: <20150619082913.GB24181@tucsk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: dhowells@redhat.com, Al Viro , Linux-Fsdevel , "linux-unionfs@vger.kernel.org" , Kernel Mailing List To: Miklos Szeredi Return-path: In-Reply-To: <20150619082913.GB24181@tucsk> Content-ID: <7198.1434703749.1@warthog.procyon.org.uk> Sender: linux-unionfs-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Miklos Szeredi wrote: > +char *file_path(struct file *filp, char *buf, int buflen) > +{ > + return d_path(&filp->f_path, buf, buflen); > +} > +EXPORT_SYMBOL(file_path); Inline it? David