diff options
author | Ian Abbott | 2013-04-04 15:59:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-04-05 23:33:19 +0200 |
commit | da619f5575e111f176f9f6d888dbeaf3210ff1f2 (patch) | |
tree | 74c64eab994f341196b4cece8c06b0c25a0b87ac /fs/nfs/nfs4client.c | |
parent | staging: comedi: set hw_dev in comedi_alloc_board_minor() (diff) | |
download | kernel-qcow2-linux-da619f5575e111f176f9f6d888dbeaf3210ff1f2.tar.gz kernel-qcow2-linux-da619f5575e111f176f9f6d888dbeaf3210ff1f2.tar.xz kernel-qcow2-linux-da619f5575e111f176f9f6d888dbeaf3210ff1f2.zip |
staging: comedi: change comedi_file_info_table_lock to mutex
The spin-lock `comedi_file_info_table_lock` is used to protect against
simultaneous modification and access of `comedi_file_info_table[]`.
Change it from a spin-lock to a mutex as it is only used in contexts
where sleeping is allowed.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/nfs4client.c')
0 files changed, 0 insertions, 0 deletions