Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1906862imm; Sun, 8 Jul 2018 14:10:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcg0ZDYH1g3HvzRm8zx2jjK1LE1ZyPJVeC6laJc4M1z1B5cB/s6rSxmyorbn4epQjzLMHZi X-Received: by 2002:a62:504e:: with SMTP id e75-v6mr18936953pfb.157.1531084231113; Sun, 08 Jul 2018 14:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531084231; cv=none; d=google.com; s=arc-20160816; b=VxNe0ox5k/Vi09cxhzVDcvtlPL6qZVMYnAhzgOrQ8WvMqoHCq9biMORcmdqbS4hSfk ssSQ/8DfWUpor+9vJXD5PgkAmrw7rxf3T7L6yxuzQycsfznrE7i4oqL9QIWdIlIwl7Aj 6dyekV+AEiAxMJBxiafAqhKXltFwhN533IetANGWUTlzyG0QCCL7nwlWiZAuxsW3QjUt fiziq221x1GDpoAskFC3ovRhE/yo26HJ8qh08em+dvoHOBiUx5SjTfNMXT5iu7CEj4j2 cA/w1Cr1Z3jufifChyg8x23YeC2xIicxTIG6az39opJChdCzLsLCmUdqXANShegJUleH sIRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=hb6nvnZREFFBtwaeRQ3owfpA/RvD/JqI9k4XfoZgEFc=; b=JEouYRUcduwTwfEp5Os+rU6VVHrK/QNvbCKP3XdFHxD4bVj7XO9qbBXPDdj8aDaWoe S+mfX2mDY9CaXbHDmU+fmGodWRAkEJmFd+BNLtCIXpRgiDWX45AVM9hVgeYSeKHrQfqr 3+zxvu3seUkVvXBlOpBmUO/QiW0GTcobqYx8gC8C4dvc68RCypMylCPWZn/yndiIuq9R +7TFY2EQEoBlazH9P4nU8umtTC9kXIri5Rg7I+bl1cygbUrEGMetoz59KF26TA+2FgN7 uZRjQ5huKSPGEWBeUDBq7d7LU5GY0PcIBNeOb3lzZrq04teKyLU0krD7YWb9nEkKhVUP 6WQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Gn96XFdr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si13112805plf.133.2018.07.08.14.10.17; Sun, 08 Jul 2018 14:10:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Gn96XFdr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933495AbeGHVIk (ORCPT + 99 others); Sun, 8 Jul 2018 17:08:40 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:46735 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933273AbeGHVFi (ORCPT ); Sun, 8 Jul 2018 17:05:38 -0400 Received: by mail-pf0-f194.google.com with SMTP id l123-v6so12138357pfl.13; Sun, 08 Jul 2018 14:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hb6nvnZREFFBtwaeRQ3owfpA/RvD/JqI9k4XfoZgEFc=; b=Gn96XFdru/z4nSNKambdxUrbB2HphI/9tCjcOEuaR7zEbsTEoIj5J0tN7ipHwxsVqE aK1tgVa4Y/vIuT3rB6nC0LHUwCmTHy5vKoLVOgbx+PzsKFc1ObN7gXC9NkeSc23VZcYJ yUEjawfM0E0NcDTRjZlD/rg+MWxmKAbPDuYPD0Dvd6gPJcoTjTyHPEaBxonS8X16B7Mh l0OEwXu1gOL8xKx28z0FB818T1pmDw8KmXix2vLKBwzLvjOxK2WXnauLG0OvBqVmNuy3 9ZPVObuMT6vhtwOqxP0Tvtn1/laCCF/irzq3B2brmV4VLwD1o/kA2SNvJPOhWHvnD4vH y6vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hb6nvnZREFFBtwaeRQ3owfpA/RvD/JqI9k4XfoZgEFc=; b=Gx6vULu/aj+BPevK3H6w3s2TPUakz4lAwBx1i9jqahOzTd1y8/dsDxkwJ6+2sswzD4 dxWSonKo1a22YaGYL4bLw34kjEAnY6pT9RIHSIZT/1RdtTJFnIIYOteQcesi+TINBK8o xWwQ012xVhj4BWGXuuFjqBYeGn8PKO5KeQukENrdMbou+8nOVacEg45BtVkok+OckZS4 C1lg+vW+nB7s3nSVtUaepxsyrocoxoPsuWSpZu/7XlkE6cYLejO1b0Xuw5oA/GfPZUbT t4qGOrTPpcCNoJwfvXpHN84fOYB23zV3Cqa9XfkuTN/NqF2idcyoE6TXIonoWcoJF5/P tdWg== X-Gm-Message-State: APt69E0XaUMQ8THa+mLaj60qlCuJmMhPN1zO7z2/hSmfLR4FYxvWq3Q0 +HJC/14Uqw28dDKzPOUNBdAYOp8g X-Received: by 2002:a63:524e:: with SMTP id s14-v6mr15415258pgl.35.1531083937902; Sun, 08 Jul 2018 14:05:37 -0700 (PDT) Received: from sol.localdomain (c-67-185-97-198.hsd1.wa.comcast.net. [67.185.97.198]) by smtp.gmail.com with ESMTPSA id x68-v6sm23355681pfb.138.2018.07.08.14.05.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jul 2018 14:05:37 -0700 (PDT) From: Eric Biggers To: David Howells , Alexander Viro , linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eric Biggers Subject: [PATCH 06/18] fs_context: fix memory leak with 's' (source) command Date: Sun, 8 Jul 2018 14:01:42 -0700 Message-Id: <20180708210154.10423-7-ebiggers3@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180708210154.10423-1-ebiggers3@gmail.com> References: <20180708210154.10423-1-ebiggers3@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eric Biggers Fixes: 5f417428a312 ("vfs: Implement fsopen() to prepare for a mount") Signed-off-by: Eric Biggers --- 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