Commit e9326dcab413848e70ab746c7c5363da13e5f801
Committed by
Trond Myklebust
1 parent
2b3de4411b
Exists in
master
and in
7 other branches
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>
Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff
fs/nfs/nfs4proc.c
... | ... | @@ -3790,6 +3790,7 @@ |
3790 | 3790 | .statfs = nfs4_proc_statfs, |
3791 | 3791 | .fsinfo = nfs4_proc_fsinfo, |
3792 | 3792 | .pathconf = nfs4_proc_pathconf, |
3793 | + .set_capabilities = nfs4_server_capabilities, | |
3793 | 3794 | .decode_dirent = nfs4_decode_dirent, |
3794 | 3795 | .read_setup = nfs4_proc_read_setup, |
3795 | 3796 | .read_done = nfs4_read_done, |
include/linux/nfs_xdr.h
... | ... | @@ -809,6 +809,7 @@ |
809 | 809 | struct nfs_fsinfo *); |
810 | 810 | int (*pathconf) (struct nfs_server *, struct nfs_fh *, |
811 | 811 | struct nfs_pathconf *); |
812 | + int (*set_capabilities)(struct nfs_server *, struct nfs_fh *); | |
812 | 813 | u32 * (*decode_dirent)(u32 *, struct nfs_entry *, int plus); |
813 | 814 | void (*read_setup) (struct nfs_read_data *); |
814 | 815 | int (*read_done) (struct rpc_task *, struct nfs_read_data *); |