Commit d5092dd3 authored by Pavel Emelyanov's avatar Pavel Emelyanov

fd: Rename fdparms.ctl -> .fd_ctl

For easier grepping.
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 1be674de
...@@ -325,7 +325,7 @@ static int fill_fd_params(struct parasite_ctl *ctl, int fd, int lfd, ...@@ -325,7 +325,7 @@ static int fill_fd_params(struct parasite_ctl *ctl, int fd, int lfd,
return -1; return -1;
p->fs_type = fsbuf.f_type; p->fs_type = fsbuf.f_type;
p->ctl = ctl; p->fd_ctl = ctl;
p->fd = fd; p->fd = fd;
p->pos = fdinfo.pos; p->pos = fdinfo.pos;
p->flags = fdinfo.flags; p->flags = fdinfo.flags;
......
...@@ -49,7 +49,7 @@ struct fd_parms { ...@@ -49,7 +49,7 @@ struct fd_parms {
long fs_type; long fs_type;
int mnt_id; int mnt_id;
struct parasite_ctl *ctl; struct parasite_ctl *fd_ctl;
}; };
#define FD_PARMS_INIT \ #define FD_PARMS_INIT \
......
...@@ -1694,7 +1694,7 @@ static int dump_tty_info(int lfd, u32 id, const struct fd_parms *p, struct tty_d ...@@ -1694,7 +1694,7 @@ static int dump_tty_info(int lfd, u32 id, const struct fd_parms *p, struct tty_d
BUILD_BUG_ON(sizeof(termios.c_cc) != sizeof(void *)); BUILD_BUG_ON(sizeof(termios.c_cc) != sizeof(void *));
BUILD_BUG_ON((sizeof(termios.c_cc) * TERMIOS_NCC) < sizeof(t.c_cc)); BUILD_BUG_ON((sizeof(termios.c_cc) * TERMIOS_NCC) < sizeof(t.c_cc));
pti = parasite_dump_tty(p->ctl, p->fd, driver->type); pti = parasite_dump_tty(p->fd_ctl, p->fd, driver->type);
if (!pti) if (!pti)
return -1; return -1;
......
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