Message ID | 20110620071024.GF14591@shale.localdomain |
---|---|
State | Accepted |
Commit | 185bf87393afe6b966881e36c459949d90930a7a |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 84303B6F77 for <incoming@patchwork.ozlabs.org>; Mon, 20 Jun 2011 17:11:30 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QYYda-0005nP-Pp; Mon, 20 Jun 2011 07:11:10 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QYYda-0000xa-CM; Mon, 20 Jun 2011 07:11:10 +0000 Received: from mail-pv0-f177.google.com ([74.125.83.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QYYdW-0000xI-PE for linux-mtd@lists.infradead.org; Mon, 20 Jun 2011 07:11:07 +0000 Received: by pvh11 with SMTP id 11so2760968pvh.36 for <linux-mtd@lists.infradead.org>; Mon, 20 Jun 2011 00:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=zhvMfQaC7ardKPwTp7wU/NMQ0cN8JEyspKCjQbhiTVo=; b=mEG+xCpaRpv7Uq/hI7YI1eO3uXAvdwW4PLLy1Gt4UNWYgffBpFpVv97ETO9G3rwAzK f1HCYv61xM72DBzA9B1KkHaDardZXQbEyJrvtlOznhgSBC8KDs25fYEtHQqvsv/WMQNm FcyRH3MlDEy7OebNTXlgszZfrV+P7ueypSUWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=X8KvvI6pLkqOvsSChzrPHz/oIoj/Db+wMgGF4zKuwpi1OYa3Zdbk61he2Xp4QFbU4e VSRbFuHJa+FlxAa525sA4X1ayYx2Lmh/q+tJ/1ODYq/1ZrGHswc9cZViIm53cw/LRfuq kHPf1qjiRtxq4UB174Tmpizai0xf1Lu2Ylxe0= Received: by 10.142.150.13 with SMTP id x13mr54133wfd.294.1308553862104; Mon, 20 Jun 2011 00:11:02 -0700 (PDT) Received: from shale.localdomain ([41.139.221.94]) by mx.google.com with ESMTPS id d1sm1286756pbj.24.2011.06.20.00.10.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2011 00:11:00 -0700 (PDT) Date: Mon, 20 Jun 2011 10:10:24 +0300 From: Dan Carpenter <error27@gmail.com> To: Al Viro <viro@zeniv.linux.org.uk> Subject: [patch] ubifs: dereferencing an ERR_PTR in ubifs_mount() Message-ID: <20110620071024.GF14591@shale.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110620_031107_155020_99D34875 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.4 (+) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (error27[at]gmail.com) 2.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (error27[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain Cc: Adrian Hunter <adrian.hunter@nokia.com>, linux-mtd@lists.infradead.org, dedekind1@gmail.com X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 8c892c2..529be05 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -2146,6 +2146,7 @@ static struct dentry *ubifs_mount(struct file_system_type *fs_type, int flags, if (IS_ERR(sb)) { err = PTR_ERR(sb); kfree(c); + goto out_close; } if (sb->s_root) {
d251ed271d5 "ubifs: fix sget races" left out the goto from this error path so the static checkers complain that we're dereferencing "sb" when it's an ERR_PTR. Signed-off-by: Dan Carpenter <error27@gmail.com>