staging/lustre/llite: avoid nonatomic memory alloc under spinlock
authorLai Siyao <lai.siyao@intel.com>
Sun, 8 Mar 2015 00:24:28 +0000 (19:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 09:35:44 +0000 (10:35 +0100)
commitaac2e54f9eb63d5cfaac1a115a939508712050da
treeeeafb2fb5865fda35e42d51dcc5beb2f72e8016a
parent4a316f7916d53c9c6e482b37f556102b5cf80546
staging/lustre/llite: avoid nonatomic memory alloc under spinlock

ll_intent_drop_lock() may sleep in memory allocation, which
should not be called inside spinlock.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Signed-off-by: Jian Yu <jian.yu@intel.com>
Reviewed-on: http://review.whamcloud.com/10674
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2272
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/statahead.c