On Wed, Oct 22, 2014 at 02:27:08PM +0400, Andrew Perepechko wrote: > Hi Dan! > > You probably meant putting that check after the followring if-statement, > since generic extended attributes can have size 1, 2, 3, ... > Ok. > In that case, size == 0 seems to be the wrong value size for an lov param > as well. I don't know about this. The code is very clear that size == 0 is acceptable inside the if statement. Oleg? regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html