diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2013-05-21 16:53:03 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-05-17 15:47:55 -0400 |
commit | 2e72448b07dc3ff1b7593e9bfff91db182262857 (patch) | |
tree | 8dee05ff1743ef438fa53f85d980e1b3ddb12698 /fs/nfs/nfs4proc.c | |
parent | 67911c8f18b595040f5c2df0550c69a7c9397891 (diff) | |
download | linux-2e72448b07dc3ff1b7593e9bfff91db182262857.tar.bz2 |
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>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index bc2676c95e1b..4e83385ea6a9 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -8797,6 +8797,7 @@ static const struct nfs4_minor_version_ops nfs_v4_2_minor_ops = { | NFS_CAP_STATEID_NFSV41 | NFS_CAP_ATOMIC_OPEN_V1 | NFS_CAP_ALLOCATE + | NFS_CAP_COPY | NFS_CAP_DEALLOCATE | NFS_CAP_SEEK | NFS_CAP_LAYOUTSTATS |