Cc: Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, Arnd Bergmann <arnd@...>, Al Viro <viro@...>, Michael Kerrisk <mtk.manpages@...>, Christoph Hellwig <hch@...>
This won't work.
Different architectures have different F_xyzzy numbers, and 12 is already
used by various ones (it's F_SETOWN in asm-parisc/fcntl.h, for example).
I think you'd have to do it in terms of F_LINUX_SPECIFIC_BASE, like
F_NOTIFY is done, for example. That way you avoid these issues.
Linus
--