Re: [PATCH 4.9 000/107] 4.9.120-stable review

From: Greg Kroah-Hartman
Date: Wed Aug 15 2018 - 01:55:40 EST


On Wed, Aug 15, 2018 at 02:36:00AM +0200, Sebastian Gottschall wrote:
> if SWAP is disabled in kernel config, the following compile error will raise
> up with this release
>
> arch/x86/built-in.o: in function `max_swapfile_size': (.text+0x3bba1):
> undefined reference to `generic_max_swapfile_size'
>
> of course this is simple to fix. the function max_swapfile_size must be
> excluded if CONFIG_SWAP is disabled

Now fixed up, thanks.

greg k-h