From: Eric Biggers <ebigg...@google.com>

Fixes: 99f8421020ac ("vfs: Implement fspick() to select a superblock for 
reconfiguration")
Signed-off-by: Eric Biggers <ebigg...@google.com>
---
 fs/fsopen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fsopen.c b/fs/fsopen.c
index 8d6fa4ba8fb55..3e439299ddf79 100644
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -301,7 +301,7 @@ SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, 
path, unsigned int, flags
 
        ret = -EOPNOTSUPP;
        if (!target.dentry->d_sb->s_op->reconfigure)
-               goto err;
+               goto err_path;
 
        fc = vfs_new_fs_context(target.dentry->d_sb->s_type, target.dentry,
                                0, FS_CONTEXT_FOR_RECONFIGURE);
-- 
2.18.0

Reply via email to