From: Dongxiao Xu Date: Sun, 31 May 2009 06:43:39 +0000 (+0800) Subject: Staging: heci: fix wrong order of device_lock and file_lock X-Git-Tag: v2.6.31-rc1~105^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171df6381962b463e5aa8ff936eb3f995a56ce9e;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed