Date: Mon, 20 Aug 2007 15:33:23 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_mountops.c Message-ID: <200708201533.l7KFXNn1095584@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Revision Changes Path
1.10 +6 -6 src/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708201533.l7KFXNn1095584>
