On Tue, Nov 18, 2014 at 10:46:59PM +0100, Pieter Smith wrote: > Turning all exported splice functions into static inline NOP's covers > almost everything... > fs/fuse and net/skbuf use an exported ops struct from fs/splice.c. Mocking > out an exported ops struct seems way uglier than linking out the > dependencies with a __splice_p() macro and __maybe_unused. > > Any thoughts or suggestions?
You could make FUSE select SPLICE_SYSCALL. For skbuff, what's the dependency? Ideally NET shouldn't select SPLICE_SYSCALL. You might try compiling out *only* that particular instance, and seeing how clean you can make that. - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

