Page MenuHomeFreeBSD

D36633.diff
No OneTemporary

D36633.diff

diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -822,7 +822,7 @@
static int
cuse_server_ioctl_copy_locked(struct cuse_server *pcs,
struct cuse_client_command *pccmd,
- struct cuse_data_chunk *pchk, int isread)
+ struct cuse_data_chunk *pchk, bool isread)
{
struct proc *p_proc;
uint32_t offset;
@@ -850,7 +850,7 @@
cuse_server_unlock(pcs);
- if (isread == 0) {
+ if (isread == false) {
error = copyin(
(void *)pchk->local_ptr,
pccmd->client->ioctl_buffer + offset,
@@ -929,7 +929,7 @@
static int
cuse_server_data_copy_locked(struct cuse_server *pcs,
struct cuse_client_command *pccmd,
- struct cuse_data_chunk *pchk, int isread)
+ struct cuse_data_chunk *pchk, bool isread)
{
struct proc *p_proc;
int error;
@@ -945,7 +945,7 @@
cuse_server_unlock(pcs);
- if (isread == 0) {
+ if (isread == false) {
error = cuse_proc2proc_copy(
curthread->td_proc, pchk->local_ptr,
p_proc, pchk->peer_ptr,

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 22, 2:07 AM (15 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27130472
Default Alt Text
D36633.diff (1 KB)

Event Timeline