diff options
author | David Howells <dhowells@redhat.com> | 2006-08-22 20:06:10 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-22 23:24:33 -0400 |
commit | e9326dcab413848e70ab746c7c5363da13e5f801 (patch) | |
tree | 594a1e4ac32fd0620f0b91442d5d1b65fd9cc743 | |
parent | 2b3de4411b3ccaeb00018c99d1bbe7203554cf7f (diff) |
NFS: Add a server capabilities NFS RPC op
Add a set_capabilities NFS RPC op so that the server capabilities can be set.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 | ||||
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index de2006f754ef..850f0851023a 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -3790,6 +3790,7 @@ struct nfs_rpc_ops nfs_v4_clientops = { | |||
3790 | .statfs = nfs4_proc_statfs, | 3790 | .statfs = nfs4_proc_statfs, |
3791 | .fsinfo = nfs4_proc_fsinfo, | 3791 | .fsinfo = nfs4_proc_fsinfo, |
3792 | .pathconf = nfs4_proc_pathconf, | 3792 | .pathconf = nfs4_proc_pathconf, |
3793 | .set_capabilities = nfs4_server_capabilities, | ||
3793 | .decode_dirent = nfs4_decode_dirent, | 3794 | .decode_dirent = nfs4_decode_dirent, |
3794 | .read_setup = nfs4_proc_read_setup, | 3795 | .read_setup = nfs4_proc_read_setup, |
3795 | .read_done = nfs4_read_done, | 3796 | .read_done = nfs4_read_done, |
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 26879771831d..dd9ae6761f71 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -809,6 +809,7 @@ struct nfs_rpc_ops { | |||
809 | struct nfs_fsinfo *); | 809 | struct nfs_fsinfo *); |
810 | int (*pathconf) (struct nfs_server *, struct nfs_fh *, | 810 | int (*pathconf) (struct nfs_server *, struct nfs_fh *, |
811 | struct nfs_pathconf *); | 811 | struct nfs_pathconf *); |
812 | int (*set_capabilities)(struct nfs_server *, struct nfs_fh *); | ||
812 | u32 * (*decode_dirent)(u32 *, struct nfs_entry *, int plus); | 813 | u32 * (*decode_dirent)(u32 *, struct nfs_entry *, int plus); |
813 | void (*read_setup) (struct nfs_read_data *); | 814 | void (*read_setup) (struct nfs_read_data *); |
814 | int (*read_done) (struct rpc_task *, struct nfs_read_data *); | 815 | int (*read_done) (struct rpc_task *, struct nfs_read_data *); |