NFSv4.2 copy do not allocate memory under the lock
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 21 Nov 2018 16:24:22 +0000 (11:24 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 22 Nov 2018 18:54:46 +0000 (13:54 -0500)
commit99f2c55591fb5c1b536263970d98c2ebc2089906
tree3bb865138830f2d44759f49073e61250125d787b
parentaeabb3c96186a0f944fc2b1f25c84d5eb3a93fa9
NFSv4.2 copy do not allocate memory under the lock

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 Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback_proc.c
fs/nfs/nfs42proc.c