diff options
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r-- | fs/nfs/nfs3proc.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index 3187e24e8f78..f580358cad62 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c | |||
@@ -877,6 +877,17 @@ nfs3_proc_lock(struct file *filp, int cmd, struct file_lock *fl) | |||
877 | return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); | 877 | return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); |
878 | } | 878 | } |
879 | 879 | ||
880 | static int nfs3_have_delegation(struct inode *inode, fmode_t flags) | ||
881 | { | ||
882 | return 0; | ||
883 | } | ||
884 | |||
885 | static int nfs3_return_delegation(struct inode *inode) | ||
886 | { | ||
887 | nfs_wb_all(inode); | ||
888 | return 0; | ||
889 | } | ||
890 | |||
880 | const struct nfs_rpc_ops nfs_v3_clientops = { | 891 | const struct nfs_rpc_ops nfs_v3_clientops = { |
881 | .version = 3, /* protocol version */ | 892 | .version = 3, /* protocol version */ |
882 | .dentry_ops = &nfs_dentry_operations, | 893 | .dentry_ops = &nfs_dentry_operations, |
@@ -910,9 +921,11 @@ const struct nfs_rpc_ops nfs_v3_clientops = { | |||
910 | .pathconf = nfs3_proc_pathconf, | 921 | .pathconf = nfs3_proc_pathconf, |
911 | .decode_dirent = nfs3_decode_dirent, | 922 | .decode_dirent = nfs3_decode_dirent, |
912 | .read_setup = nfs3_proc_read_setup, | 923 | .read_setup = nfs3_proc_read_setup, |
924 | .read_pageio_init = nfs_pageio_init_read, | ||
913 | .read_rpc_prepare = nfs3_proc_read_rpc_prepare, | 925 | .read_rpc_prepare = nfs3_proc_read_rpc_prepare, |
914 | .read_done = nfs3_read_done, | 926 | .read_done = nfs3_read_done, |
915 | .write_setup = nfs3_proc_write_setup, | 927 | .write_setup = nfs3_proc_write_setup, |
928 | .write_pageio_init = nfs_pageio_init_write, | ||
916 | .write_rpc_prepare = nfs3_proc_write_rpc_prepare, | 929 | .write_rpc_prepare = nfs3_proc_write_rpc_prepare, |
917 | .write_done = nfs3_write_done, | 930 | .write_done = nfs3_write_done, |
918 | .commit_setup = nfs3_proc_commit_setup, | 931 | .commit_setup = nfs3_proc_commit_setup, |
@@ -921,5 +934,9 @@ const struct nfs_rpc_ops nfs_v3_clientops = { | |||
921 | .lock = nfs3_proc_lock, | 934 | .lock = nfs3_proc_lock, |
922 | .clear_acl_cache = nfs3_forget_cached_acls, | 935 | .clear_acl_cache = nfs3_forget_cached_acls, |
923 | .close_context = nfs_close_context, | 936 | .close_context = nfs_close_context, |
937 | .have_delegation = nfs3_have_delegation, | ||
938 | .return_delegation = nfs3_return_delegation, | ||
939 | .alloc_client = nfs_alloc_client, | ||
924 | .init_client = nfs_init_client, | 940 | .init_client = nfs_init_client, |
941 | .free_client = nfs_free_client, | ||
925 | }; | 942 | }; |