Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2010 11:21:45 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        KOT MATPOCKuH <matpockuh@gmail.com>
Cc:        Xin LI <delphij@delphij.net>, FreeBSD Current <freebsd-current@freebsd.org>, Marcel Moolenaar <xcllnt@mac.com>
Subject:   Re: [zfs] Mounting from (...) failed with error 19
Message-ID:  <4CBE9889.6010107@yandex.ru>
In-Reply-To: <AANLkTimhCU%2BppQncCNJicH1AjuM25Z6GH3Jmqckprn=H@mail.gmail.com>
References:  <4CBCDD3A.9070404@delphij.net>	<4CBD26B4.2020205@yandex.ru>	<4CBDB17C.4040607@yandex.ru> <AANLkTimhCU%2BppQncCNJicH1AjuM25Z6GH3Jmqckprn=H@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB1F31B0B7532F9DCFDEC19D7
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On 20.10.2010 10:50, KOT MATPOCKuH wrote:
> Hello!
>=20
>> I fixed it with attached patch.
> Omg... Why You are using strcmp, but not strncmp(fs, "zfs", strlen("zfs=
"))?

:)

Just because it is not first access to the fs variable in this function.
And it is already checked with strcmp.

--=20
WBR, Andrey V. Elsukov


--------------enigB1F31B0B7532F9DCFDEC19D7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJMvpiMAAoJEAHF6gQQyKF6v0QH/3Fh1PZtj6KMuSU0knvsATXG
Gi6mwyHoFJHH9CRBiNKT84BhodVAqHMLl95EKgUtBX1rMmqEF3p2vdCfsBbVfK9c
hSO75CZHVoaGcVH7BJtFRJTM4ph1YKCqAsJ6pNU5L7JIQHLyGDGor1d8PLRlPtFg
zWofrsmS3UEMSZHSDyhLxzpb7IIRAHfMA5eCqophbFwuEBxa1p58LWmQikZWpBvg
Izot7J2hVcm9/LJ6N4wFzI+7gCUr7INKmCJZA+WBamHLDU7mGaHpu8dld6W7CAGm
CKmoV33QSxQlViY0RvG+hpJN1MTrNvVZ+9L0UghhDDBkBAXsxfs1GemgkQVK0RI=
=JWXN
-----END PGP SIGNATURE-----

--------------enigB1F31B0B7532F9DCFDEC19D7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBE9889.6010107>