summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2015-09-25 21:24:35 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-10-15 23:07:36 +0300
commite5341f3a5762d17be9cdd06257c02c0098bdcab8 (patch)
treef915d5fdbad1a5a0d0840f0847610f410887ba9b /fs/nfs/nfs4proc.c
parent36022770de6cf9a403c40a68712ed2d2ea2746be (diff)
downloadlinux-e5341f3a5762d17be9cdd06257c02c0098bdcab8.tar.xz
nfs42: add CLONE proc functions
Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 5133bb18830e..9688b1a9787f 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -8729,7 +8729,8 @@ static const struct nfs4_minor_version_ops nfs_v4_2_minor_ops = {
| NFS_CAP_ALLOCATE
| NFS_CAP_DEALLOCATE
| NFS_CAP_SEEK
- | NFS_CAP_LAYOUTSTATS,
+ | NFS_CAP_LAYOUTSTATS
+ | NFS_CAP_CLONE,
.init_client = nfs41_init_client,
.shutdown_client = nfs41_shutdown_client,
.match_stateid = nfs41_match_stateid,