aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2012-10-18 22:26:32 +0200
committerGreg Kroah-Hartman <[email protected]>2012-10-22 16:50:53 -0700
commit7ee00fdb16418dd5078ec73e4a631c278a366501 (patch)
tree5010d222fb5cc65c8f03d1e96bf2e25b130697f6 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parentfa2ecfc5a68d85624bbd84f7d010860776b7e602 (diff)
TTY: vt, fix paste_selection ldisc handling
There used to be a single tty_ldisc_ref_wait. But then, when a big-tty-mutex (BTM) was introduced, it has to be tty_ldisc_ref + tty_unlock + tty_ldisc_ref_wait + tty_lock. Later, BTM was removed from that path and tty_ldisc_ref + tty_ldisc_ref_wait remained there. But it makes no sense now. So leave there only tty_ldisc_ref_wait. And when we have a reference to an ldisc, actually use it in the loop. Otherwise it may be racy. Signed-off-by: Jiri Slaby <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions