Skip to content

Commit

Permalink
document-portal: Minor indentation and typo fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Figuière <[email protected]>
  • Loading branch information
hfiguiere authored and GeorgesStavracas committed Jan 12, 2024
1 parent d42373a commit fd70f57
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit fd70f57

Please sign in to comment.