Messages in this thread | | | Date | Sat, 25 Feb 2017 10:22:21 -0500 | From | Theodore Ts'o <> | Subject | Re: [PATCH 2/3] fs: Extracts pivot_root so it can be made optional |
| |
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
| |