diff options
| author | Max Reitz <[email protected]> | 2020-05-06 15:44:12 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2020-09-18 13:17:41 +0000 |
| commit | fcee216beb9c15c3e1466bb76575358415687c55 (patch) | |
| tree | f9116c10fcede619f7a8f80a5b62aa052bc192e4 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | fuse: drop fuse_conn parameter where possible (diff) | |
| download | kernel-fcee216beb9c15c3e1466bb76575358415687c55.tar.gz kernel-fcee216beb9c15c3e1466bb76575358415687c55.zip | |
fuse: split fuse_mount off of fuse_conn
We want to allow submounts for the same fuse_conn, but with different
superblocks so that each of the submounts has its own device ID. To do
so, we need to split all mount-specific information off of fuse_conn
into a new fuse_mount structure, so that multiple mounts can share a
single fuse_conn.
We need to take care only to perform connection-level actions once (i.e.
when the fuse_conn and thus the first fuse_mount are established, or
when the last fuse_mount and thus the fuse_conn are destroyed). For
example, fuse_sb_destroy() must invoke fuse_send_destroy() until the
last superblock is released.
To do so, we keep track of which fuse_mount is the root mount and
perform all fuse_conn-level actions only when this fuse_mount is
involved.
Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
