[PATCH AUTOSEL 4.19 57/68] NFSv4.2 copy do not allocate memory under the lock

2018-11-28 Thread Sasha Levin
From: Olga Kornievskaia [ Upstream commit 99f2c55591fb5c1b536263970d98c2ebc2089906 ] Bruce pointed out that we shouldn't allocate memory while holding a lock in the nfs4_callback_offload() and handle_async_copy() that deal with a racing CB_OFFLOAD and reply to COPY case. Signed-off-by: Olga

[PATCH AUTOSEL 4.19 57/68] NFSv4.2 copy do not allocate memory under the lock

2018-11-28 Thread Sasha Levin
From: Olga Kornievskaia [ Upstream commit 99f2c55591fb5c1b536263970d98c2ebc2089906 ] Bruce pointed out that we shouldn't allocate memory while holding a lock in the nfs4_callback_offload() and handle_async_copy() that deal with a racing CB_OFFLOAD and reply to COPY case. Signed-off-by: Olga