lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH V9 1/4] fuse: Definitions and ioctl() for passthrough
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;
\
 
 \ /
  Last update: 2020-09-29 16:38    [W:0.137 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site