On Fri, 2009-03-20 at 17:01 -0400, Oren Laadan wrote:
>
> >> fd_type = cr_inode_to_fdtype(inode);
> >> if (fd_type < 0) {
> >> cr_hbuf_put(ctx, sizeof(*hh));
> >> return fd_type;
> >> }
> >>
> >> hh->fd_objref = cr_inode_to_objref(ctx, inode, hh->fd_type, &new);
> >> pr_debug("type %d objref %d (%d)\n", hh->fd_type, hh->fd_objref,
> >> new);
> >> if (!new)
> >> fd_type = CR_FD_OBJREF;
> >
> > Where does 'hh->fd_type' get initialized? Did you mean just plain
> > 'fd_type'?
>
> Try one more line ...
Exactly. It gets *used* in the cr_inode_to_objref() call.
-- Dave
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel