projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2396356
)
fuse: Convert 'write' to a bit-field in struct fuse_copy_state
author
Joanne Koong
<joannelkoong@gmail.com>
Thu, 20 Feb 2025 20:16:58 +0000
(12:16 -0800)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Tue, 15 Apr 2025 10:59:17 +0000
(12:59 +0200)
Use a bitfield for 'write' in struct fuse_copy_state.
No functional changes.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/fuse_dev_i.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/fuse/fuse_dev_i.h
b/fs/fuse/fuse_dev_i.h
index b3c2e32254bad639efa82b9e6537e4aaa4776851..5e3f12664c1c6173fe38b2dbb86066457429dcf4 100644
(file)
--- a/
fs/fuse/fuse_dev_i.h
+++ b/
fs/fuse/fuse_dev_i.h
@@
-20,7
+20,6
@@
struct fuse_iqueue;
struct fuse_forget_link;
struct fuse_copy_state {
- int write;
struct fuse_req *req;
struct iov_iter *iter;
struct pipe_buffer *pipebufs;
@@
-30,6
+29,7
@@
struct fuse_copy_state {
struct page *pg;
unsigned int len;
unsigned int offset;
+ unsigned int write:1;
unsigned int move_pages:1;
unsigned int is_uring:1;
struct {