diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-06-01 15:56:48 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-29 10:51:50 +0200 |
| commit | c95396ec5585afbe3e38582a4b222fa59f88c961 (patch) | |
| tree | c30faef01023e183de38ccf352634819b4e8fbcc /tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git | |
| parent | a82c92bcfc058bb1787deff7c1cc615923275633 (diff) | |
ksmbd: use scoped_with_init_fs() for VFS path operations
Use scoped_with_init_fs() to temporarily override current->fs for
path lookups in ksmbd VFS helpers:
- ksmbd_vfs_path_lookup(): wrap vfs_path_parent_lookup()
- ksmbd_vfs_link(): wrap kern_path() for old path resolution
- ksmbd_vfs_kern_path_create(): wrap start_creating_path()
This ensures path lookups happen in init's filesystem context.
All ksmbd paths ← SMB command handlers ← handle_ksmbd_work() ← workqueue
← ksmbd_conn_handler_loop() ← kthread
Link: https://patch.msgid.link/20260601-work-kthread-nullfs-v4-15-77ee053060e0@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
