cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_mountops.c
cognet at FreeBSD.org
Mon Aug 20 08:33:23 PDT 2007
cognet 2007-08-20 15:33:23 UTC
FreeBSD src repository
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
More information about the cvs-src