commit | 171df6381962b463e5aa8ff936eb3f995a56ce9e | [log] [tgz] |
---|---|---|
author | Dongxiao Xu <dongxiao.xu@intel.com> | Sun May 31 14:43:39 2009 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jun 19 11:00:55 2009 -0700 |
tree | 55a7c6d792f4a8d450c72b0e6e7b3adf223ad285 | |
parent | 36e844671cbdace27f0462a46cedde0a4d6b1001 [diff] |
Staging: heci: fix wrong order of device_lock and file_lock When the two locks are nested, the code should always first acquire file_lock, and then acquire device_lock in order not to generate dead-lock race. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>