diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-03-18 17:01:51 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-30 17:32:09 -0400 |
commit | dc97618ddda9a23e5211e800f0614e9612178200 (patch) | |
tree | e4167f2ff3e8edf0bb5f331d58bc308476180744 /fs/nfsd/vfs.h | |
parent | 02fe4707740e7c8a3d0ec34ffbf4630d7d41ca68 (diff) |
nfsd4: separate splice and readv cases
The splice and readv cases are actually quite different--for example the
former case ignores the array of vectors we build up for the latter.
It is probably clearer to separate the two cases entirely.
There's some code duplication between the split out encoders, but this
is only temporary and will be fixed by a later patch.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/vfs.h')
-rw-r--r-- | fs/nfsd/vfs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h index fbe90bdb2214..7441e9655eb7 100644 --- a/fs/nfsd/vfs.h +++ b/fs/nfsd/vfs.h | |||
@@ -70,6 +70,14 @@ __be32 nfsd_commit(struct svc_rqst *, struct svc_fh *, | |||
70 | __be32 nfsd_open(struct svc_rqst *, struct svc_fh *, umode_t, | 70 | __be32 nfsd_open(struct svc_rqst *, struct svc_fh *, umode_t, |
71 | int, struct file **); | 71 | int, struct file **); |
72 | void nfsd_close(struct file *); | 72 | void nfsd_close(struct file *); |
73 | struct raparms; | ||
74 | __be32 nfsd_get_tmp_read_open(struct svc_rqst *, struct svc_fh *, | ||
75 | struct file **, struct raparms **); | ||
76 | void nfsd_put_tmp_read_open(struct file *, struct raparms *); | ||
77 | int nfsd_splice_read(struct svc_rqst *, | ||
78 | struct file *, loff_t, unsigned long *); | ||
79 | int nfsd_readv(struct file *, loff_t, struct kvec *, int, | ||
80 | unsigned long *); | ||
73 | __be32 nfsd_read(struct svc_rqst *, struct svc_fh *, | 81 | __be32 nfsd_read(struct svc_rqst *, struct svc_fh *, |
74 | loff_t, struct kvec *, int, unsigned long *); | 82 | loff_t, struct kvec *, int, unsigned long *); |
75 | __be32 nfsd_read_file(struct svc_rqst *, struct svc_fh *, struct file *, | 83 | __be32 nfsd_read_file(struct svc_rqst *, struct svc_fh *, struct file *, |