|
18 | 18 | #include <net/addrconf.h>
|
19 | 19 | #include <linux/nfs_common.h>
|
20 | 20 | #include <linux/nfslocalio.h>
|
21 |
| -#include <linux/module.h> |
22 | 21 | #include <linux/bvec.h>
|
23 | 22 |
|
24 | 23 | #include <linux/nfs.h>
|
@@ -341,7 +340,7 @@ nfs_local_pgio_release(struct nfs_local_kiocb *iocb)
|
341 | 340 | {
|
342 | 341 | struct nfs_pgio_header *hdr = iocb->hdr;
|
343 | 342 |
|
344 |
| - nfs_to->nfsd_file_put_local(iocb->localio); |
| 343 | + nfs_to_nfsd_file_put_local(iocb->localio); |
345 | 344 | nfs_local_iocb_free(iocb);
|
346 | 345 | nfs_local_hdr_release(hdr, hdr->task.tk_ops);
|
347 | 346 | }
|
@@ -622,7 +621,7 @@ int nfs_local_doio(struct nfs_client *clp, struct nfsd_file *localio,
|
622 | 621 | }
|
623 | 622 | out:
|
624 | 623 | if (status != 0) {
|
625 |
| - nfs_to->nfsd_file_put_local(localio); |
| 624 | + nfs_to_nfsd_file_put_local(localio); |
626 | 625 | hdr->task.tk_status = status;
|
627 | 626 | nfs_local_hdr_release(hdr, call_ops);
|
628 | 627 | }
|
@@ -673,7 +672,7 @@ nfs_local_release_commit_data(struct nfsd_file *localio,
|
673 | 672 | struct nfs_commit_data *data,
|
674 | 673 | const struct rpc_call_ops *call_ops)
|
675 | 674 | {
|
676 |
| - nfs_to->nfsd_file_put_local(localio); |
| 675 | + nfs_to_nfsd_file_put_local(localio); |
677 | 676 | call_ops->rpc_call_done(&data->task, data);
|
678 | 677 | call_ops->rpc_release(data);
|
679 | 678 | }
|
|
0 commit comments