git: ca190427e1f5 - main - nfs_clrpcops.c: Fix typo in commit db8444c1b7e4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Nov 2026 23:07:24 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=ca190427e1f55a24ed1f8078757c22ea34473052
commit ca190427e1f55a24ed1f8078757c22ea34473052
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2026-11-04 23:05:02 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2026-11-04 23:05:02 +0000
nfs_clrpcops.c: Fix typo in commit db8444c1b7e4
Reported by: markj
MFC after: 1 month
Fixes: 884ee8d6c9b4 ("nfscl: Add some glue for client side NFS over RDMA")
---
sys/fs/nfsclient/nfs_clrpcops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/fs/nfsclient/nfs_clrpcops.c b/sys/fs/nfsclient/nfs_clrpcops.c
index 395bf2ef74c3..1f9942689d2a 100644
--- a/sys/fs/nfsclient/nfs_clrpcops.c
+++ b/sys/fs/nfsclient/nfs_clrpcops.c
@@ -1861,7 +1861,7 @@ nfsrpc_readrpc(vnode_t vp, struct uio *uiop, vm_page_t *pgp, struct ucred *cred,
* within the pages, this can only be done for the first
* iteration.
*/
- tmp_off = start_off - uiop->uio_offset;
+ tmp_off = uiop->uio_offset - start_off;
if (pgp != NULL && (tmp_off & PAGE_MASK) == 0 &&
(start_off & PAGE_MASK) == 0 &&
uiop->uio_segflg == UIO_SYSSPACE &&