Miklos Szeredi <miklos@xxxxxxxxxx> 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