Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document-portal: Minor indentation and typo fixes #1262

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions document-portal/document-portal-fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
* referenced by the dcache (Directory Entry Cache) (even though we
* will not really use the dcache info due to the 0 valid time). This
* is unfortunate, because it means we will keep a lot of file
* descriptor open. But, we can not know if the kernel needs the inode
* descriptors open. But, we can not know if the kernel needs the inode
* for some non-dcache use so we can't close the file descriptors.
*
* To work around this we regularly emit entry invalidation calls
Expand Down Expand Up @@ -947,7 +947,7 @@ verify_doc_dir_devino (int dirfd, XdpDomain *doc_domain)
return -ENOENT;

return 0;
}
}

/* Only for toplevel dirs, not this is a bit weird for toplevel dir
inodes as it returns the dir itself which isn't really the dirfd
Expand Down Expand Up @@ -1659,7 +1659,7 @@ ensure_docdir_inode (XdpInode *parent,
inode->domain_root_inode = xdp_inode_ref (parent->domain_root_inode);
else
inode->domain_root_inode = xdp_inode_ref (parent);
g_hash_table_insert (domain->inodes, physical, inode);
g_hash_table_insert (domain->inodes, physical, inode);
}
G_UNLOCK(domain_inodes);

Expand Down Expand Up @@ -2360,7 +2360,7 @@ xdp_fuse_opendir (fuse_req_t req,
}
}

fi->fh = (gsize)d;
fi->fh = (gsize)d;

if (fuse_reply_open (req, fi) == -ENOENT)
{
Expand Down
Loading