Re: [PATCH 2/3] fs: Extracts pivot_root so it can be made optional
From: Theodore Ts'o
Date: Sat Feb 25 2017 - 11:06:44 EST
If you're only going to be removing a single function, instead of
having to export a bunch of previously-static functions, my preference
would be to just insert a pair of #ifdef CONFIG_PIVOT_ROOT_SYSCALL / #endif
statements around the function in question.
Is it worth it to save 600-odd bytes? Shrug; but if that's what you
are after, I'd suggest doing it the simplest and least-instrusive way
possible.
Cheers,
- Ted