|
|
@ -1288,7 +1288,7 @@ do_init(fuse_req_t req, |
|
|
if(f->conn.want & FUSE_CAP_PASSTHROUGH) |
|
|
if(f->conn.want & FUSE_CAP_PASSTHROUGH) |
|
|
{ |
|
|
{ |
|
|
outargflags |= FUSE_PASSTHROUGH; |
|
|
outargflags |= FUSE_PASSTHROUGH; |
|
|
outarg.max_stack_depth = 2; |
|
|
|
|
|
|
|
|
outarg.max_stack_depth = (f->passthrough_max_stack_depth + 1); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(inargflags & FUSE_INIT_EXT) |
|
|
if(inargflags & FUSE_INIT_EXT) |
|
|
@ -1800,6 +1800,7 @@ enum { |
|
|
|
|
|
|
|
|
static const struct fuse_opt fuse_ll_opts[] = |
|
|
static const struct fuse_opt fuse_ll_opts[] = |
|
|
{ |
|
|
{ |
|
|
|
|
|
{ "passthrough-max-stack-depth=%u", offsetof(struct fuse_ll, passthrough_max_stack_depth), 0 }, |
|
|
{ "debug", offsetof(struct fuse_ll, debug), 1 }, |
|
|
{ "debug", offsetof(struct fuse_ll, debug), 1 }, |
|
|
{ "-d", offsetof(struct fuse_ll, debug), 1 }, |
|
|
{ "-d", offsetof(struct fuse_ll, debug), 1 }, |
|
|
{ "max_readahead=%u", offsetof(struct fuse_ll, conn.max_readahead), 0 }, |
|
|
{ "max_readahead=%u", offsetof(struct fuse_ll, conn.max_readahead), 0 }, |
|
|
|