diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-19 13:11:17 +0300 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-11-09 15:04:53 -0500 |
| commit | 0cd6e563938a5b2f88ce0008eda32f9617c9d81f (patch) | |
| tree | 1b9c9771545baa4b6421c101af034b7294cac4f4 /tools/perf/scripts/python | |
| parent | 702d55edc017632a0c39c1d4bdd579bdbadfd730 (diff) | |
sunrpc: instantiate rpc_pipefs dentry before publishing it
rpc_mkpipe_dentry() publishes pipe->dentry before
d_make_persistent() attaches its inode. A concurrent
rpc_queue_upcall() or rpc_timeout_upcall_queue() can
conceivably dereference the dentry while d_inode() is NULL.
Attach the inode before publishing the dentry, restoring the
ordering used before the rpc_pipefs conversion refactor.
Fixes: 946e2256775e ("convert rpc_pipefs")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
