git: e3834c99ca43 - stable/13 - cuse(3): Cosmetic change about testing boolean values.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Oct 2022 15:54:13 UTC
The branch stable/13 has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=e3834c99ca434b40d0a7664c774e9279cb6a1439
commit e3834c99ca434b40d0a7664c774e9279cb6a1439
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-10-04 10:31:51 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-10-12 15:53:21 +0000
cuse(3): Cosmetic change about testing boolean values.
No functional change intended.
Suggested by: jrtc27@ and avg@
Sponsored by: NVIDIA Networking
Differential Revision: https://reviews.freebsd.org/D36633
(cherry picked from commit 2ae08612424eda47e099096f1f5719891c6d4711)
---
sys/fs/cuse/cuse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index 41f8bdbe2bfe..566f463da22a 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -866,7 +866,7 @@ cuse_server_ioctl_copy_locked(struct cuse_server *pcs,
cuse_server_unlock(pcs);
- if (isread == false) {
+ if (!isread) {
error = copyin(
(void *)pchk->local_ptr,
pccmd->client->ioctl_buffer + offset,
@@ -961,7 +961,7 @@ cuse_server_data_copy_locked(struct cuse_server *pcs,
cuse_server_unlock(pcs);
- if (isread == false) {
+ if (!isread) {
error = cuse_proc2proc_copy(
curthread->td_proc, pchk->local_ptr,
p_proc, pchk->peer_ptr,