diff options
| author | Miklos Szeredi <mszeredi@redhat.com> | 2026-03-19 15:49:56 +0100 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-06-15 14:06:16 +0200 |
| commit | 3344b7367acd302c550aa4136a27447d3b39a169 (patch) | |
| tree | 875d06a0627c3ff587a2509d0c27d7f5a2528e6f /fs/fuse/dev.c | |
| parent | 4f5f0038d69102bd112240a36bf807b4408a11ab (diff) | |
| download | linux-next-3344b7367acd302c550aa4136a27447d3b39a169.tar.gz linux-next-3344b7367acd302c550aa4136a27447d3b39a169.zip | |
fuse: move fuse_dev_waitq to dev.c
Move wake_up_all(&fuse_dev_waitq) into fuse_dev_install() where it
logically belongs.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dev.c')
| -rw-r--r-- | fs/fuse/dev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index cc89346f29fb..96f0815b4df4 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -31,6 +31,8 @@ MODULE_ALIAS_MISCDEV(FUSE_MINOR); MODULE_ALIAS("devname:fuse"); +static DECLARE_WAIT_QUEUE_HEAD(fuse_dev_waitq); + static struct kmem_cache *fuse_req_cachep; static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req) @@ -481,6 +483,7 @@ void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) } else { list_add_tail(&fud->entry, &fc->chan->devices); fuse_conn_get(fc); + wake_up_all(&fuse_dev_waitq); } spin_unlock(&fc->chan->lock); } |
