| From | Askar Safin <> | | Subject | Re: [PATCH RFC v2 15/23] fs: add real_fs to track task's actual fs_struct | | Date | Sat, 7 Mar 2026 03:51:41 +0300 |
| |
Christian Brauner <brauner@kernel.org>: > Also fix the argument passed to nullfs_userspace_init() in > switch_fs_struct(): pass the old fs_struct itself rather than the > conditional return value which is NULL when other users still hold > a reference, ensuring the PID 1 unshare detection actually works.
This description doesn't match actual patch.
Your patch doesn't change what is passed to nullfs_userspace_init in switch_fs_struct. Code before this patch already passed fs.
-- Askar Safin
|