Re: [zfs] Mounting from (...) failed with error 19

From: Andrey V. Elsukov <bu7cher_at_yandex.ru>
Date: Wed, 20 Oct 2010 11:21:45 +0400
On 20.10.2010 10:50, KOT MATPOCKuH wrote:
> Hello!
> 
>> 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.

-- 
WBR, Andrey V. Elsukov


Received on Wed Oct 20 2010 - 05:21:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC