]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: heci: fix the problem that file_ext->state should be protected by device_lock
authorDongxiao Xu <dongxiao.xu@intel.com>
Sun, 31 May 2009 06:44:01 +0000 (14:44 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:55 +0000 (11:00 -0700)
commit9739a81100879525a7d27ae708807217b195dc30
treeec346ebfcf6ad5e44be0cf9aedafc6cb2b86eb89
parent85970c145e1b351f132a332c6b41a4400df49f41
Staging: heci: fix the problem that file_ext->state should be protected by device_lock

While access file_ext->state, we should use device_lock to protect it. The
original codes miss this in some places.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/heci/heci_init.c
drivers/staging/heci/heci_main.c
drivers/staging/heci/io_heci.c