[pve-devel] [PATCH manager] correctly set 'nowritecache' on zfsplugin

Dietmar Maurer dietmar at proxmox.com
Tue Mar 7 19:38:38 CET 2017


> +		    // reverse the logic for the checkbox
> +		    values.nowritecache = values.nowritecache == '0'?'1':'0';

I wonder why we compare to a string '0'?? AFAIK nowritecache is an
boolean/integer?




More information about the pve-devel mailing list