Re: [PATCH] [1/9] Add rcustring ADT for RCU protected strings v2

From: Andi Kleen
Date: Tue Jan 05 2010 - 09:19:35 EST


"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> writes:
>>
>> I would consider it disallowed, all the strings have some default value.
>> Empty string would be ""
>>
>> If we allowed it the caller couldn't easily distingush error from expected NULL.
>
> OK, then:

Thanks. I actually changed my mind and added support for NULL strings
(although I suspect they are not too useful)

I also found one more minor problem (and there was one conversion
missing in v2), will do a repost later

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/