diff options
author | Joanne Koong <joannelkoong@gmail.com> | 2025-02-20 23:16:58 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-04-15 13:59:17 +0300 |
commit | a5c4983bb90759c95d81f0d7b02000578077b1e6 (patch) | |
tree | 622c4623483ef82647147a50e05f7054ca480966 | |
parent | 2396356a945bb022aff02656f59c2a45d457043f (diff) | |
download | linux-a5c4983bb90759c95d81f0d7b02000578077b1e6.tar.xz |
fuse: Convert 'write' to a bit-field in struct fuse_copy_state
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>
-rw-r--r-- | fs/fuse/fuse_dev_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/fuse_dev_i.h b/fs/fuse/fuse_dev_i.h index b3c2e32254ba..5e3f12664c1c 100644 --- 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 { |