CIFS: Do not kmalloc under the flocks spinlock
authorPavel Shilovsky <piastry@etersoft.ru>
Mon, 5 Mar 2012 06:39:20 +0000 (09:39 +0300)
committerSteve French <sfrench@us.ibm.com>
Wed, 7 Mar 2012 03:50:15 +0000 (21:50 -0600)
Reorganize the code to make the memory already allocated before
spinlock'ed loop.

Cc: stable@vger.kernel.org
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found