NFS: inter ssc open
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 8 Oct 2019 20:33:53 +0000 (16:33 -0400)
committerOlga Kornievskaia <olga.kornievskaia@gmail.com>
Wed, 9 Oct 2019 16:05:52 +0000 (12:05 -0400)
commitec4b0925089826af45e99cdf78a8ac84c1d005f1
tree70c1790a27bf8f43881eb64b79dba53e4e1a5915
parent1d38f3f0d70008671f4dc055697ff3c3bb44a284
NFS: inter ssc open

NFSv4.2 inter server to server copy requires the destination server to
READ the data from the source server using the provided stateid and
file handle.

Given an NFSv4 stateid and filehandle from the COPY operaion, provide the
destination server with an NFS client function to create a struct file
suitable for the destiniation server to READ the data to be copied.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4file.c
fs/nfs/nfs4proc.c