Re: [PATCH 2/3] fs: Extracts pivot_root so it can be made optional

Theodore Ts'o
2017-02-25T16:06:33Z

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