On Mon 27 Jul 2015 05:51:38 PM CEST, Max Reitz wrote: > + if (refcount_bits <= 0 || refcount_bits > 64 || > + !is_power_of_2(refcount_bits)) > + { > + error_report("Refcount width must be a power of two and may " > + "not exceed 64 bits"); > + return -EINVAL; > + }
I guess there's no lower limit needed for this? Doesn't it break anything if refcount_bits == 1? Berto