diff options
| author | 2026-03-11 22:05:17 +0100 | |
|---|---|---|
| committer | 2026-04-02 20:43:24 +0200 | |
| commit | e9bf38500ed9aec7cfdf9219c75d353645b41168 (patch) | |
| tree | d531d968cfd670f784d61f90ad4905d6ffb84c51 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fuse: create fuse_dev on /dev/fuse open instead of mount (diff) | |
fuse: add refcount to fuse_dev
This will make it possible to grab the fuse_dev and subsequently release
the file that it came from.
In the above case, fud->fc will be set to FUSE_DEV_FC_DISCONNECTED to
indicate that this is no longer a functional device.
When trying to assign an fc to such a disconnected fuse_dev, the fc is set
to the disconnected state.
Use atomic operations xchg() and cmpxchg() to prevent races.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
