Re: [PATCH] fs: fix sysctls.c built

From: Kefeng Wang
Date: Wed Apr 12 2023 - 21:35:05 EST




On 2023/4/12 17:19, Christian Brauner wrote:
On Tue, Apr 11, 2023 at 12:14:44PM +0800, Kefeng Wang wrote:
/proc/sys/fs/overflowuid and overflowgid will be lost without
building this file, kindly ping, any comments, thanks.


On 2023/3/31 16:45, Kefeng Wang wrote:
'obj-$(CONFIG_SYSCTL) += sysctls.o' must be moved after "obj-y :=",
or it won't be built as it is overwrited.

...

Given the description in
ab171b952c6e ("fs: move namespace sysctls and declare fs base directory")
you probably want to move this earlier.

Oh, missing that part, but the /proc/sys/fs/overflowuid and overflowgid are lost after it, is it expected? Luis, could you take a look? thanks.