Commit 72a035d7 authored by Pavel Emelyanov's avatar Pavel Emelyanov

files: Add comment to open_path routine

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 109f426c
......@@ -581,6 +581,12 @@ const struct fdtype_ops regfile_dump_ops = {
.dump = dump_one_reg_file,
};
/*
* This routine properly resolves d's path handling ghost/link-remaps.
* The open_cb is a routine that does actual open, it differs for
* files, directories, fifos, etc.
*/
int open_path(struct file_desc *d,
int(*open_cb)(struct reg_file_info *, void *), void *arg)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment