.. | .. |
---|
33 | 33 | struct nfsd_writeargs { |
---|
34 | 34 | svc_fh fh; |
---|
35 | 35 | __u32 offset; |
---|
36 | | - int len; |
---|
| 36 | + __u32 len; |
---|
37 | 37 | struct kvec first; |
---|
38 | 38 | }; |
---|
39 | 39 | |
---|
.. | .. |
---|
82 | 82 | __be32 * buffer; |
---|
83 | 83 | }; |
---|
84 | 84 | |
---|
| 85 | +struct nfsd_stat { |
---|
| 86 | + __be32 status; |
---|
| 87 | +}; |
---|
| 88 | + |
---|
85 | 89 | struct nfsd_attrstat { |
---|
| 90 | + __be32 status; |
---|
86 | 91 | struct svc_fh fh; |
---|
87 | 92 | struct kstat stat; |
---|
88 | 93 | }; |
---|
89 | 94 | |
---|
90 | 95 | struct nfsd_diropres { |
---|
| 96 | + __be32 status; |
---|
91 | 97 | struct svc_fh fh; |
---|
92 | 98 | struct kstat stat; |
---|
93 | 99 | }; |
---|
94 | 100 | |
---|
95 | 101 | struct nfsd_readlinkres { |
---|
| 102 | + __be32 status; |
---|
96 | 103 | int len; |
---|
97 | 104 | }; |
---|
98 | 105 | |
---|
99 | 106 | struct nfsd_readres { |
---|
| 107 | + __be32 status; |
---|
100 | 108 | struct svc_fh fh; |
---|
101 | 109 | unsigned long count; |
---|
102 | 110 | struct kstat stat; |
---|
103 | 111 | }; |
---|
104 | 112 | |
---|
105 | 113 | struct nfsd_readdirres { |
---|
| 114 | + __be32 status; |
---|
| 115 | + |
---|
106 | 116 | int count; |
---|
107 | 117 | |
---|
108 | 118 | struct readdir_cd common; |
---|
.. | .. |
---|
112 | 122 | }; |
---|
113 | 123 | |
---|
114 | 124 | struct nfsd_statfsres { |
---|
| 125 | + __be32 status; |
---|
115 | 126 | struct kstatfs stats; |
---|
116 | 127 | }; |
---|
117 | 128 | |
---|
.. | .. |
---|
146 | 157 | int nfssvc_decode_symlinkargs(struct svc_rqst *, __be32 *); |
---|
147 | 158 | int nfssvc_decode_readdirargs(struct svc_rqst *, __be32 *); |
---|
148 | 159 | int nfssvc_encode_void(struct svc_rqst *, __be32 *); |
---|
| 160 | +int nfssvc_encode_stat(struct svc_rqst *, __be32 *); |
---|
149 | 161 | int nfssvc_encode_attrstat(struct svc_rqst *, __be32 *); |
---|
150 | 162 | int nfssvc_encode_diropres(struct svc_rqst *, __be32 *); |
---|
151 | 163 | int nfssvc_encode_readlinkres(struct svc_rqst *, __be32 *); |
---|
.. | .. |
---|
156 | 168 | int nfssvc_encode_entry(void *, const char *name, |
---|
157 | 169 | int namlen, loff_t offset, u64 ino, unsigned int); |
---|
158 | 170 | |
---|
159 | | -void nfssvc_release_fhandle(struct svc_rqst *); |
---|
| 171 | +void nfssvc_release_attrstat(struct svc_rqst *rqstp); |
---|
| 172 | +void nfssvc_release_diropres(struct svc_rqst *rqstp); |
---|
| 173 | +void nfssvc_release_readres(struct svc_rqst *rqstp); |
---|
160 | 174 | |
---|
161 | 175 | /* Helper functions for NFSv2 ACL code */ |
---|
162 | 176 | __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat); |
---|