|
9 | 9 | #include <linux/crc32.h> |
10 | 10 | #include <linux/sunrpc/addr.h> |
11 | 11 | #include <linux/nfs_page.h> |
| 12 | +#include <linux/nfslocalio.h> |
12 | 13 | #include <linux/wait_bit.h> |
13 | 14 |
|
14 | 15 | #define NFS_SB_MASK (SB_RDONLY|SB_NOSUID|SB_NODEV|SB_NOEXEC|SB_SYNCHRONOUS) |
@@ -308,7 +309,8 @@ void nfs_pgio_header_free(struct nfs_pgio_header *); |
308 | 309 | int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *); |
309 | 310 | int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, |
310 | 311 | const struct cred *cred, const struct nfs_rpc_ops *rpc_ops, |
311 | | - const struct rpc_call_ops *call_ops, int how, int flags); |
| 312 | + const struct rpc_call_ops *call_ops, int how, int flags, |
| 313 | + struct nfsd_file *localio); |
312 | 314 | void nfs_free_request(struct nfs_page *req); |
313 | 315 | struct nfs_pgio_mirror * |
314 | 316 | nfs_pgio_current_mirror(struct nfs_pageio_descriptor *desc); |
@@ -527,7 +529,8 @@ extern int nfs_initiate_commit(struct rpc_clnt *clnt, |
527 | 529 | struct nfs_commit_data *data, |
528 | 530 | const struct nfs_rpc_ops *nfs_ops, |
529 | 531 | const struct rpc_call_ops *call_ops, |
530 | | - int how, int flags); |
| 532 | + int how, int flags, |
| 533 | + struct nfsd_file *localio); |
531 | 534 | extern void nfs_init_commit(struct nfs_commit_data *data, |
532 | 535 | struct list_head *head, |
533 | 536 | struct pnfs_layout_segment *lseg, |
|
0 commit comments