Re: [PATCH V9 1/4] fuse: Definitions and ioctl() for passthrough

From: Alessio Balsini
Date: Tue Sep 29 2020 - 10:37:28 EST


Hi,

I noticed the following fixup suggested by Amir slipped from this
submission.

Thanks,
Alessio

---8<---
diff --git a/fs/fuse/passthrough.c b/fs/fuse/passthrough.c
index b7d1a5517ffd..eba26196be92 100644
--- a/fs/fuse/passthrough.c
+++ b/fs/fuse/passthrough.c
@@ -185,7 +185,7 @@ int fuse_passthrough_setup(struct fuse_req *req, unsigned int fd)
passthrough_inode = file_inode(passthrough_filp);
passthrough_sb = passthrough_inode->i_sb;
fs_stack_depth = passthrough_sb->s_stack_depth + 1;
- ret = -EEXIST;
+ ret = -EINVAL;
if (fs_stack_depth > FILESYSTEM_MAX_STACK_DEPTH) {
pr_err("FUSE: maximum fs stacking depth exceeded for passthrough\n");
goto out;