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

Fixes: 5f417428a312 ("vfs: Implement fsopen() to prepare for a mount")
Signed-off-by: Eric Biggers <ebigg...@google.com>
---
 fs/fsopen.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/fsopen.c b/fs/fsopen.c
index 5d346ac78d504..8d6fa4ba8fb55 100644
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -98,7 +98,6 @@ static ssize_t fscontext_write(struct file *file,
                ret = vfs_set_fs_source(fc, data, len - 2);
                if (ret < 0)
                        goto err_unlock;
-               data = NULL;
                break;
 
        case 'o':
-- 
2.18.0

Reply via email to