Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions fs/fuse/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ MODULE_AUTHOR("Miklos Szeredi <miklos@szeredi.hu>");
MODULE_DESCRIPTION("Filesystem in Userspace");
MODULE_LICENSE("GPL");

static bool __read_mostly enable_compound;
module_param(enable_compound, bool, 0644);
MODULE_PARM_DESC(enable_uring, "Enable fuse compounds");

static struct kmem_cache *fuse_inode_cachep;
struct list_head fuse_conn_list;
DEFINE_MUTEX(fuse_mutex);
Expand Down Expand Up @@ -1027,10 +1031,8 @@ void fuse_conn_init(struct fuse_conn *fc, struct fuse_mount *fm,
fc->connected = 1;
fc->dlm = 1;

/* pretend fuse server supports compound operations
* until it tells us otherwise.
*/
fc->compound_open_getattr = 1;
/* module option for now */
fc->compound_open_getattr = enable_compound;

atomic64_set(&fc->attr_version, 1);
atomic64_set(&fc->evict_ctr, 1);
Expand Down
Loading