diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-25 09:37:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 20:37:17 (GMT) |
commit | 328be395a396b1333b56e04571365dc614c96e46 (patch) | |
tree | e4266351b4641c44f43747e776964d6321f10d3d /fs/dcache.c | |
parent | e59e2bd9e85604ad601ec7dd056baffcd6ad56a0 (diff) | |
download | linux-328be395a396b1333b56e04571365dc614c96e46.tar.xz |
TTY/n_gsm: potential double lock
In gsm_dlci_data_kick() we call gsm_dlci_data_sweep() with the
"gsm->tx_lock" held so we can't lock it again inside
gsm_dlci_data_sweep(). I removed that lock from and added one to
gsmld_write_wakeup() instead. The sweep function is only called from
those two places.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions