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

* Re: backport d8e45bf1aed2 (selftests/mount_setattr: fix redefine struct mount_attr build error)
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2023-06-19  6:24 UTC (permalink / raw)
  To: Hardik Garg; +Cc: stable, code

On Wed, Jun 14, 2023 at 01:28:25PM -0700, Hardik Garg wrote:
> 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:

6.3 obviously already has this commit in it, so how are you seeing an
error there?

confused,

greg k-h

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

* Re: backport d8e45bf1aed2 (selftests/mount_setattr: fix redefine struct mount_attr build error)
  2023-06-19  6:24 ` Greg KH
@ 2023-06-19 17:53   ` Hardik Garg
  2023-06-22  8:10     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Hardik Garg @ 2023-06-19 17:53 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, code

I apologize for the mistake. I'm not getting this error with v6.3
Please backport it to v6.1 and v5.15


Thanks,
Hardik

On 6/18/2023 11:24 PM, Greg KH wrote:
> On Wed, Jun 14, 2023 at 01:28:25PM -0700, Hardik Garg wrote:
>> 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:
> 6.3 obviously already has this commit in it, so how are you seeing an
> error there?
>
> confused,
>
> greg k-h



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

* Re: backport d8e45bf1aed2 (selftests/mount_setattr: fix redefine struct mount_attr build error)
  2023-06-19 17:53   ` Hardik Garg
@ 2023-06-22  8:10     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2023-06-22  8:10 UTC (permalink / raw)
  To: Hardik Garg; +Cc: stable, code

On Mon, Jun 19, 2023 at 10:53:02AM -0700, Hardik Garg wrote:
> I apologize for the mistake. I'm not getting this error with v6.3
> Please backport it to v6.1 and v5.15

Now queued up, thanks.

greg k-h

^ 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).