cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_mountops.c

Rui Paulo rpaulo at
Mon Aug 20 09:40:57 PDT 2007

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


Rui Paulo

More information about the cvs-src mailing list