diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2009-05-31 14:43:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:55 -0700 |
commit | 72abd2288318a35fbf225b93a31d4623e3b8c872 (patch) | |
tree | 9ce193ab0c02b57cb2ef59009d4aafd98c3176df /fs/hostfs | |
parent | 171df6381962b463e5aa8ff936eb3f995a56ce9e (diff) |
Staging: heci: fix spinlock order mess of device_lock and read_io_lock
In orginal code, the device_lock and read_io_lock is mess order when nested,
which may bring dead lock. This patch unify the spinlock order of device_lock
and read_io_lock. First acquire device_lock, then read_io_lock.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions