On Wed, Jun 11, 2025 at 12:39:28PM +0200, Christian Brauner wrote: > On Tue, Jun 10, 2025 at 09:21:28AM +0100, Al Viro wrote: > > checks if mount is the root of an anonymouns namespace. > > Switch open-coded equivalents to using it. > > > > For mounts that belong to anon namespace !mnt_has_parent(mount) > > is the same as mount == ns->root, and intent is more obvious in > > the latter form. > > > > NB: comment in do_mount_setattr() appears to be very confused... > > The comment just mentions a single case where we did regress userspace > some time ago because we didn't allowing changing mount properties on > the real rootfs (And we have this discussion on another thread.). > > But I'm not sure why this belongs in the commit message in the first > place. Just remove the comment. Done