NFSD: Remove kmalloc from nfsd4_do_async_copy()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 27 Jul 2022 18:41:06 +0000 (14:41 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:16:59 +0000 (20:16 -0400)
commitad1e46c9b07b13659635ee5405f83ad0df143116
tree95458286db12288e9a6b18baab9a6ddf0d8972a1
parent3b7bf5933cada732783554edf0dc61283551c6cf
NFSD: Remove kmalloc from nfsd4_do_async_copy()

Instead of manufacturing a phony struct nfsd_file, pass the
struct file returned by nfs42_ssc_open() directly to
nfsd4_do_copy().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c