Re: [PATCH] fs/mount_setattr: always cleanup mount_kattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 30, 2021 at 03:14:33PM -0800, Linus Torvalds wrote:
> On Thu, Dec 30, 2021 at 11:23 AM Christian Brauner
> <christian.brauner@xxxxxxxxxx> wrote:
> >
> > Would you be ok with applying this fix directly? I
> 
> Done.
> 
> That said, I would have liked a "Fixes:" tag, or some indication of
> how far back the stable people should take this..

Ugh, I missed to add that.
>From a pure upstream stable perspective the only relevant and still
supported kernel that should get this fix is 5.15.

I can make it a custom to mark all patches that should go to stable with
the first kernel version where a given fix should be applied. In this
case this whould've meant I'd given it:

Cc: <stable@xxxxxxxxxxxxxxx> # v5.12+

For upstream stable maintainers it should be clear that since the only
supported stable version within the range is v5.15.
For downstream users/distros it should help to identify whether they
still run/maintain a kernel that falls within the range of kernels that
would technically be eligible for this fix.

I haven't seen whether we prefer the Cc: with # v*.**+ syntax to a
simple Cc: without it nowadays.

> 
> I assume it's 9caccd41541a ("fs: introduce MOUNT_ATTR_IDMAP"), and

Yes, that's correct. Thanks!

> that's what I added manually to it as I applied it, but relying on me
> noticing and getting things right can be a risky business..

Noted. :)

Christian



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux