Skip to content

Commit 88be7aa

Browse files
bsberndMiklos Szeredi
authored andcommitted
fuse: Move request bits
These are needed by fuse-over-io-uring. Signed-off-by: Bernd Schubert <bschubert@ddn.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Joanne Koong <joannelkoong@gmail.com> Reviewed-by: Luis Henriques <luis@igalia.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 867d93d commit 88be7aa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

fs/fuse/dev.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
MODULE_ALIAS_MISCDEV(FUSE_MINOR);
3030
MODULE_ALIAS("devname:fuse");
3131

32-
/* Ordinary requests have even IDs, while interrupts IDs are odd */
33-
#define FUSE_INT_REQ_BIT (1ULL << 0)
34-
#define FUSE_REQ_ID_STEP (1ULL << 1)
35-
3632
static struct kmem_cache *fuse_req_cachep;
3733

3834
static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req)

fs/fuse/fuse_dev_i.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
#include <linux/types.h>
1010

11+
/* Ordinary requests have even IDs, while interrupts IDs are odd */
12+
#define FUSE_INT_REQ_BIT (1ULL << 0)
13+
#define FUSE_REQ_ID_STEP (1ULL << 1)
14+
1115
static inline struct fuse_dev *fuse_get_dev(struct file *file)
1216
{
1317
/*

0 commit comments

Comments
 (0)