server: Set the fd user when duplicating a mapping file descriptor into a new file.
This commit is contained in:
parent
33c491eb84
commit
f2b34dddfb
|
@ -162,6 +162,7 @@ struct file *create_file_for_fd_obj( struct fd *fd, unsigned int access, unsigne
|
|||
release_object( file );
|
||||
return NULL;
|
||||
}
|
||||
set_fd_user( file->fd, &file_fd_ops, &file->obj );
|
||||
}
|
||||
return file;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue