Loading drivers/tty/tty_io.c +1 −1 Original line number Diff line number Diff line Loading @@ -2129,7 +2129,7 @@ static int tty_open(struct inode *inode, struct file *filp) /* * Need to reset f_op in case a hangup happened. */ if (filp->f_op == &hung_up_tty_fops) if (tty_hung_up_p(filp)) filp->f_op = &tty_fops; goto retry_open; } Loading Loading
drivers/tty/tty_io.c +1 −1 Original line number Diff line number Diff line Loading @@ -2129,7 +2129,7 @@ static int tty_open(struct inode *inode, struct file *filp) /* * Need to reset f_op in case a hangup happened. */ if (filp->f_op == &hung_up_tty_fops) if (tty_hung_up_p(filp)) filp->f_op = &tty_fops; goto retry_open; } Loading