stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* backport d8e45bf1aed2 (selftests/mount_setattr: fix redefine struct mount_attr build error)
@ 2023-06-14 20:28 Hardik Garg
  2023-06-19  6:24 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Hardik Garg @ 2023-06-14 20:28 UTC (permalink / raw)
  To: stable; +Cc: code

commit d8e45bf1aed2 upstream.
(selftests/mount_setattr: fix redefine struct mount_attr build error)
Backport this commit from v6.2.0-rc5 to v6.3, v6.1, and v5.15 to resolve
the struct redefinition error:

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 {

This error is caused by the upstream commit f1594bc67657
(selftests mount: Fix mount_setattr_test builds failed) backported
to v5.15


Thanks,

Hardik


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-22  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14 20:28 backport d8e45bf1aed2 (selftests/mount_setattr: fix redefine struct mount_attr build error) Hardik Garg
2023-06-19  6:24 ` Greg KH
2023-06-19 17:53   ` Hardik Garg
2023-06-22  8:10     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).