Shuah Khan
ac65930751
selftests/mount_setattr: fix redefine struct mount_attr build error
...
commit d8e45bf1ae
upstream.
Fix the following build error due to redefining struct mount_attr by
removing duplicate define from mount_setattr_test.c
gcc -g -isystem .../tools/testing/selftests/../../../usr/include -Wall -O2 -pthread mount_setattr_test.c -o .../tools/testing/selftests/mount_setattr/mount_setattr_test
mount_setattr_test.c:107:8: error: redefinition of ‘struct mount_attr’
107 | struct mount_attr {
| ^~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/mount.h:32,
from mount_setattr_test.c:10:
.../usr/include/linux/mount.h:129:8: note: originally defined here
129 | struct mount_attr {
| ^~~~~~~~~~
make: *** [../lib.mk:145: .../tools/testing/selftests/mount_setattr/mount_setattr_test] Error 1
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org >
Cc: Hardik Garg <hargar@linux.microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-28 10:29:41 +02:00
..
2023-05-11 23:00:20 +09:00
2023-03-30 12:47:47 +02:00
2023-05-11 23:00:27 +09:00
2023-03-17 08:49:03 +01:00
2021-06-13 17:01:17 -06:00
2023-06-21 15:59:12 +02:00
2023-03-11 13:57:34 +01:00
2023-06-05 09:21:19 +02:00
2021-08-13 08:58:11 -06:00
2022-08-11 13:07:51 +02:00
2023-04-20 12:13:54 +02:00
2021-07-27 11:48:55 -07:00
2023-05-11 23:00:35 +09:00
2021-08-05 11:01:30 +01:00
2023-05-17 11:50:21 +02:00
2023-05-24 17:36:49 +01:00
2023-06-28 10:29:41 +02:00
2022-08-17 14:24:15 +02:00
2021-11-18 19:16:19 +01:00
2021-09-14 10:31:41 +02:00
2023-02-22 12:57:01 +01:00
2022-12-08 11:28:42 +01:00