[PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx

From: Jiri Olsa
Date: Mon Feb 07 2011 - 13:31:44 EST


hi,

the vcs lseek method might race with VC removal and cause panic.

Also it seems the vcs is the only one using con_buf and con_buf_mtx,
which does not seem necessary any longer.

attached patches:
1/2 - lseek/VC-release race fix
2/2 - removing con_buf and con_buf_mtx

wbr,
jirka
---
drivers/tty/vt/vc_screen.c | 110 +++++++++++++++++++++++++++-----------------
drivers/tty/vt/vt.c | 12 -----
include/linux/vt_kern.h | 8 ---
3 files changed, 67 insertions(+), 63 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/