A very good point, well made.
As you'll know, this can only happen if the function types are the same
towards the end of the ops structure. Which is, of course, rather
likely.
My point is the Linus approach with flush, while a fine one, relies on
the types later in the structure being different enough to cause
non-updated drivers to fail to compile. This could be a matter of luck
or guile, who knows how Linus' mind works ;-)
If the types were the same after inserting a new op, older drivers would
compile just fine and people would screw up their filesystems.
So inserting in the middle of the structure does not guarantee
everything will be fine. But by luck or guile, it does in this case.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html