diff options
| author | Miklos Szeredi <mszeredi@redhat.com> | 2026-03-11 22:27:44 +0100 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-04-02 20:43:25 +0200 |
| commit | d42eb23b2ef9fbe66ea7fd4b3153c3244818d47c (patch) | |
| tree | 024a13ffcc37b1e14f39b1f216ce24e0f00d8345 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e9bf38500ed9aec7cfdf9219c75d353645b41168 (diff) | |
fuse: don't require /dev/fuse fd to be kept open during mount
With the new mount API the sequence of syscalls would be:
fs_fd = fsopen("fuse", 0);
snprintf(opt, sizeof(opt), "%i", devfd);
fsconfig(fs_fd, FSCONFIG_SET_STRING, "fd", opt, 0);
/* ... */
fsconfig(fs_fd, FSCONFIG_CMD_CREATE, 0, 0, 0);
Current mount code just stores the value of devfd in the fs_context and
uses it in during FSCONFIG_CMD_CREATE, which is inelegant.
Instead grab a reference to the underlying fuse_dev, and use that during
the filesystem creation.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
