fuse: simplify req states
FUSE_REQ_INIT is actually the same state as FUSE_REQ_PENDING and FUSE_REQ_READING and FUSE_REQ_WRITING can be merged into a common FUSE_REQ_IO state. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
This commit is contained in:
@@ -243,11 +243,9 @@ struct fuse_args {
|
||||
|
||||
/** The request state */
|
||||
enum fuse_req_state {
|
||||
FUSE_REQ_INIT = 0,
|
||||
FUSE_REQ_PENDING,
|
||||
FUSE_REQ_READING,
|
||||
FUSE_REQ_PENDING = 0,
|
||||
FUSE_REQ_IO,
|
||||
FUSE_REQ_SENT,
|
||||
FUSE_REQ_WRITING,
|
||||
FUSE_REQ_FINISHED
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user