NFS: Add COPY nfs operation
This adds the copy_range file_ops function pointer used by the sys_copy_range() function call. This patch only implements sync copies, so if an async copy happens we decode the stateid and ignore it. Signed-off-by: Anna Schumaker <bjschuma@netapp.com>
This commit is contained in:

committed by
Anna Schumaker

parent
67911c8f18
commit
2e72448b07
@@ -246,5 +246,6 @@ struct nfs_server {
|
||||
#define NFS_CAP_DEALLOCATE (1U << 21)
|
||||
#define NFS_CAP_LAYOUTSTATS (1U << 22)
|
||||
#define NFS_CAP_CLONE (1U << 23)
|
||||
#define NFS_CAP_COPY (1U << 24)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user