Re: [PATCH] selftests/filesystems:fix build error in overlayfs

2024-01-17 Thread Christian Brauner
On Fri, 12 Jan 2024 15:40:59 +0800, Hu Yadi wrote: > One build issue comes up due to both mount.h included dev_in_maps.c > > In file included from dev_in_maps.c:10: > /usr/include/sys/mount.h:35:3: error: expected identifier before numeric > constant >35 | MS_RDONLY = 1, /* Mount read-only

Re: [PATCH] selftests/filesystems:fix build error in overlayfs

2024-01-16 Thread Andrei Vagin
On Thu, Jan 11, 2024 at 11:45 PM Hu Yadi wrote: > > One build issue comes up due to both mount.h included dev_in_maps.c > > In file included from dev_in_maps.c:10: > /usr/include/sys/mount.h:35:3: error: expected identifier before numeric > constant >35 | MS_RDONLY = 1, /* Mount read-only.

回复: [PATCH] selftests/filesystems:fix build error in overlayfs

2024-01-15 Thread Huyadi
>On Fri, Jan 12, 2024 at 03:40:59PM +0800, Hu Yadi wrote: >> One build issue comes up due to both mount.h included dev_in_maps.c >> >> In file included from dev_in_maps.c:10: >> /usr/include/sys/mount.h:35:3: error: expected identifier before numeric >> constant >>35 | MS_RDONLY = 1, /*

Re: [PATCH] selftests/filesystems:fix build error in overlayfs

2024-01-15 Thread Günther Noack
Hello! On Fri, Jan 12, 2024 at 03:40:59PM +0800, Hu Yadi wrote: > One build issue comes up due to both mount.h included dev_in_maps.c > > In file included from dev_in_maps.c:10: > /usr/include/sys/mount.h:35:3: error: expected identifier before numeric > constant >35 | MS_RDONLY = 1, /* M

[PATCH] selftests/filesystems:fix build error in overlayfs

2024-01-11 Thread Hu Yadi
One build issue comes up due to both mount.h included dev_in_maps.c In file included from dev_in_maps.c:10: /usr/include/sys/mount.h:35:3: error: expected identifier before numeric constant 35 | MS_RDONLY = 1, /* Mount read-only. */ | ^ In file included from dev_in_maps.c:1