On Fri, May 04, 2018 at 10:01:44AM -0500, Kangjie Lu wrote: > > There is nothing preventing the user from using struct lov_mds_md_v3 but > > filling in lmm_magic = LOV_MAGIC_V1 from the beginning, no need for a race. > > > > Right. No need for users to race. There might be a type confusion issue > though if V1 > object is used as V3 or the other way. > It's a bit confusing for someone reading the code, but in terms of the kernel it's straightforward. It's like if someone is typing with their toes, that's sort of confusing but it's not a security issue. And here we're implementing a no typing with your toes policy just to make things more higienic (static checkers in this metaphor). regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel