Messages in this thread | | | From | David Howells <> | Subject | Re: Upcoming: Notifications, FS notifications and fsinfo() | Date | Thu, 02 Apr 2020 16:42:45 +0100 |
| |
Miklos Szeredi <miklos@szeredi.hu> wrote:
> > ext4_show_mount(), for example, doesn't lock against "mount -o remount", so > > the configuration can be changing whilst it's being rendered to text. > > Does s_umount nest inside namespace_sem? I really don't see the > relation of those locks.
If I understand aright what Al has told me, it's a bad idea to do any blocking operation inside of namespace_sem apart from kmalloc(GFP_KERNEL).
David
| |