summaryrefslogtreecommitdiff
path: root/document-portal/xdp-fuse.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-03-14 10:50:34 +0100
committerAlexander Larsson <alexl@redhat.com>2016-03-14 10:50:34 +0100
commit9537bdc339d326d9f7720438191eab0f091113b5 (patch)
treecddec9e0b5c02b29ed5c6d315666c82aecfeaf63 /document-portal/xdp-fuse.c
parent2f01bb3aaae5a811a6f936ebefba7c68cdfbfebf (diff)
downloadxdg-app-9537bdc339d326d9f7720438191eab0f091113b5.tar.gz
document portal: Avoid some deadlock
We can't hold the db lock and call into the fuse backend, because that can create deadlocks if it calls back into the db.
Diffstat (limited to 'document-portal/xdp-fuse.c')
-rw-r--r--document-portal/xdp-fuse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/document-portal/xdp-fuse.c b/document-portal/xdp-fuse.c
index c20618a..e01985d 100644
--- a/document-portal/xdp-fuse.c
+++ b/document-portal/xdp-fuse.c
@@ -2103,8 +2103,7 @@ static struct fuse_lowlevel_ops xdp_fuse_oper = {
and with null opt_app_id when the doc is created/removed */
void
xdp_fuse_invalidate_doc_app (const char *doc_id,
- const char *opt_app_id,
- XdgAppDbEntry *entry)
+ const char *opt_app_id)
{
g_autoptr(XdpInode) inode = NULL;
fuse_ino_t ino;