diff options
author | Christian Brauner <[email protected]> | 2024-10-16 19:49:48 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-10-17 15:33:43 +0200 |
commit | 229fd15908fe1f99b1de4cde3326e62d1e892611 (patch) | |
tree | 85170e2e4f9a88758e1a23892f4f4e814d528e4d /tools/perf/scripts/python/task-analyzer.py | |
parent | d6a77668a708f0b5ca6713b39c178c9d9563c35b (diff) |
fs: don't try and remove empty rbtree node
When copying a namespace we won't have added the new copy into the
namespace rbtree until after the copy succeeded. Calling free_mnt_ns()
will try to remove the copy from the rbtree which is invalid. Simply
free the namespace skeleton directly.
Link: https://lore.kernel.org/r/20241016-adapter-seilwinde-83c508a7bde1@brauner
Fixes: 1901c92497bd ("fs: keep an index of current mount namespaces")
Tested-by: Brad Spengler <[email protected]>
Cc: [email protected] # v6.11+
Reported-by: Brad Spengler <[email protected]>
Suggested-by: Brad Spengler <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions