From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 07:21:51 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A0B106566B for ; Wed, 20 Oct 2010 07:21:51 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [95.108.130.119]) by mx1.freebsd.org (Postfix) with ESMTP id 89EFF8FC17 for ; Wed, 20 Oct 2010 07:21:51 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward15.mail.yandex.net (Yandex) with ESMTP id BF2CF4458DDC; Wed, 20 Oct 2010 11:21:49 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1287559309; bh=3xfCl4STTthDi7Oy615rQTy/BwB7ZTL61iIbry4c2s8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=mAypcIaKprCIPJg3smd9SpZrBmwzbiYg76fJqUcJHb6B1vz8sTsfJ1jiMousOVHfH kUuhm1NkLQm3GqUnOLoTn2U6fRMml0yZNir+bWiKqIZ0DjfD7RvEqGjRFqEpXe9FFd y2E1vj6Yo61mp9plajTHHJlmsu3zsF5abSpVeNhE= Received: from [127.0.0.1] (ns.kirov.so-cdu.ru [77.72.136.145]) by smtp13.mail.yandex.net (Yandex) with ESMTPSA id 6264C41580B1; Wed, 20 Oct 2010 11:21:49 +0400 (MSD) Message-ID: <4CBE9889.6010107@yandex.ru> Date: Wed, 20 Oct 2010 11:21:45 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: KOT MATPOCKuH References: <4CBCDD3A.9070404@delphij.net> <4CBD26B4.2020205@yandex.ru> <4CBDB17C.4040607@yandex.ru> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB1F31B0B7532F9DCFDEC19D7" X-Yandex-TimeMark: 1287559309 X-Yandex-Spam: 1 X-Yandex-Front: smtp13.mail.yandex.net Cc: Xin LI , FreeBSD Current , Marcel Moolenaar Subject: Re: [zfs] Mounting from (...) failed with error 19 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 07:21:52 -0000 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--