summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2026-03-12 12:19:10 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2026-04-02 20:52:59 +0200
commit4ae404afd92e36be378eb120a2dc13031cdac7a6 (patch)
treed5a4f56cf4656960d795bcfb9b0b99aafda50171 /tools/perf/scripts/python
parentd42eb23b2ef9fbe66ea7fd4b3153c3244818d47c (diff)
fuse: clean up device cloning
- fuse_mutex is not needed for device cloning, because fuse_dev_install() uses cmpxcg() to set fud->fc, which prevents races between clone/mount or clone/clone. This makes the logic simpler - Drop fc->dev_count. This is only used to check in release if the device is the last clone, but checking list_empty(&fc->devices) is equivalent after removing the released device from the list. Removing the fuse_dev before calling fuse_abort_conn() is okay, since the processing and io lists are now empty for this device. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions