Date: Mon, 20 Aug 2007 17:40:51 +0100 From: Rui Paulo <rpaulo@fnop.net> To: Olivier Houchard <cognet@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_mountops.c Message-ID: <46C9C413.5020102@fnop.net> In-Reply-To: <200708201533.l7KFXNn1095584@repoman.freebsd.org> References: <200708201533.l7KFXNn1095584@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Houchard wrote: > cognet 2007-08-20 15:33:23 UTC > > FreeBSD src repository > > Modified files: > sys/gnu/fs/xfs/FreeBSD xfs_mountops.c > Log: > Some times ago, vfs_getopts() was changed, so that it would set error to > ENOENT if the option wasn't provided, instead of setting it to 0. > xfs however didn't catch up on this, so it assumed something went bad if > vfs_getopts() sets the error to non-zero, and just returns the error. > Unbreak xfs mount by just ignoring the error if vfs_getopts() sets the > error to ENOENT, as we should have sane defaults. > > Reviewed by: kan > Approved by: re (rwatson) > Tested by: rpaulo Thanks! -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C9C413.5020102>