Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140170094
D36633.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36633.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D36633: cuse(3): Optimise small reads and writes.
Attached
Detach File
Event Timeline
Log In to Comment