[PATCH 3/4] vfs: simplify error handling in namei

Mateusz Guzik mjguzik at gmail.com
Thu Jul 9 16:34:13 UTC 2015


On Thu, Jul 09, 2015 at 06:53:45PM +0300, Konstantin Belousov wrote:
> On Thu, Jul 09, 2015 at 05:40:21PM +0200, Mateusz Guzik wrote:
> > On Thu, Jul 09, 2015 at 01:25:33PM +0300, Konstantin Belousov wrote:
> > > On Thu, Jul 09, 2015 at 12:07:10AM +0200, Mateusz Guzik wrote:
> > > > From: Mateusz Guzik <mjg at freebsd.org>
> > > > 
> > > > The logic is reorganised so that there is one exit point prior to the
> > > > lookup loop. This is an intermediate step to making audit logging
> > > > functions use found vnode instead of translating ni_dirfd on their own.
> > > > 
> > > > ni_startdir validation is removed. The only in-tree consumer is nfs
> > > > which already makes sure it is a directory.
> 
> Looks fine.
> 

Thanks, went in as
https://svnweb.freebsd.org/base?view=revision&revision=285326

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the freebsd-fs mailing list