Message ID | 20171103090240.15899-2-zajec5@gmail.com |
---|---|
State | Accepted |
Delegated to: | Rafał Miłecki |
Headers | show
Return-Path: <lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fAao1w2n"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OZH6UytF"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ySwwq60T5z9sNV for <incoming@patchwork.ozlabs.org>; Fri, 3 Nov 2017 20:03:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3vskYFrOumwHrB/z9jG409hsILmSgrxNUulrxCUxbGc=; b=fAao1w2nbsPKvV +TgsPHFxHDb5NAY2jV5DiI5F2m3rWIvVWq0hRk/A126rDMWKybVVPPSV49TDo0VFKIaJ2kTK/ECOP 3QKfLvyVzx4D2150IxZeApH8Sw+Jf0VvsJfFrbUexajghpfG+0spwlkVz1BpgRFcOXBh+1efPpa6j OYzQNELcpOJfjFdnv2EMRkVEf0G/+k92uRJPBxjT/r/ejzw/+8ZEknFyWDG9KBmcv/RzZpY6wsS7v IGjmtNszubZHG8mlRqI9FJU+vbGNT/cDTCXjXRgqqDRDzk9ACuoYEhdY8b8p0fS+/lyI8bmua5dSZ oCtSMANEe+zQn/q6dTEA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eAXst-0005kc-L6; Fri, 03 Nov 2017 09:03:27 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eAXsq-0005iX-4g for lede-dev@lists.infradead.org; Fri, 03 Nov 2017 09:03:25 +0000 Received: by mail-lf0-x242.google.com with SMTP id n69so2338903lfn.2 for <lede-dev@lists.infradead.org>; Fri, 03 Nov 2017 02:03:03 -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 :mime-version:content-transfer-encoding; bh=G2pQ4iQ+EQrPMsA9MfuQZ+jwR21FXWPn+Tz+rBfo1QE=; b=OZH6UytF8zYAcaKVWgESZBM8O0ESWhQB1Zg3iQQ8QN7tBcJ8MWbhOvRhQFlCA0FVtj nd/MHQmy34Q35szRpeBEeI7kkiefo7htOHYEPJ3CUa5Zg4Y4KxdtCN4k8ymzhC98+uIQ TxoXo0LA6O5flvO1e/30HFKMMN21hL8ioNdt/UX8SWA8sqb7sI9TgY3VauUJdB7WrbH4 kVzBesBUwB3CE5BchqZ4x0jAR4cldbCVaArz/Tba2jWLpsUhMa8ZEnN1sZg2us2hbXMi /CKJcWvfHitMNmfyIOiRC/AQXlAQOmgYX4NbXVdXTDOzC+f12I6Lh+9r/y/TywSIj2Yi nhuw== 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:mime-version:content-transfer-encoding; bh=G2pQ4iQ+EQrPMsA9MfuQZ+jwR21FXWPn+Tz+rBfo1QE=; b=t3OUK50E8pvpHJ2JAxHCRNch+9ARPOtLtE9Ig1inoP21F9hz+CyKnHMgCadBgXhrAF QoqU0ytDbLtErH59EjV4zgEz9bHRjUXsHD1tAj2+34nSQBwBwLDk/VnWU9fAId5H6jEy vb4GF134jcOifhJKh8GlmS+KQDzrJ2v9MQPGkbd3aeV3WkLm9RfF71IWi0Bn7MKOqgdv SV4EGWcaYD1yuiommIAs4BhU/cnE3vv4RwAmeeEM3pJADEZ5VIJiVTDP4lYgcPgHMKdH zqcfJox6HPFHVQnWdbMDuTCkWsM29N335LtdBEt8ZNwZVgWSEvrEJv0L0K7zQFP2fIJL 3s7w== X-Gm-Message-State: AMCzsaXFiWX9T39C+TK6HNXEt8HjbX3g1u/Mdqlz0NNucg9vXtXFOVAF 7DEsnTO5CcwITkoZRxwW24ZtLw== X-Google-Smtp-Source: ABhQp+Sx4jREl/43JtxT52Fb3Nf8N7iAIAW5Nz34TJOLchUc51eMlQY43KhDqVWSYSGV4Z7oR5Ochg== X-Received: by 10.46.95.19 with SMTP id t19mr3005222ljb.2.1509699782393; Fri, 03 Nov 2017 02:03:02 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id u11sm1121052lju.83.2017.11.03.02.03.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Nov 2017 02:03:01 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: Hans Dedecker <dedeckeh@gmail.com>, John Crispin <john@phrozen.org> Date: Fri, 3 Nov 2017 10:02:39 +0100 Message-Id: <20171103090240.15899-2-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171103090240.15899-1-zajec5@gmail.com> References: <20171103090240.15899-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171103_020324_367926_43E782BF X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (zajec5[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [LEDE-DEV] [PATCH mountd 1/2] mount: drop duplicated filesystem check from mount_add_list X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <lede-dev.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/lede-dev/> List-Post: <mailto:lede-dev@lists.infradead.org> List-Help: <mailto:lede-dev-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=subscribe> Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl>, lede-dev@lists.infradead.org, Felix Fietkau <nbd@nbd.name> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "Lede-dev" <lede-dev-bounces@lists.infradead.org> Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
mount: improve handling unsupported filesystems
|
expand
|
diff --git a/mount.c b/mount.c index 92606da..6d95de9 100644 --- a/mount.c +++ b/mount.c @@ -155,7 +155,7 @@ static void mount_add_list(char *name, char *dev, char *serial, mount->mounted = 0; mount->fs = fs; list_add(&mount->list, &mounts); - if((!mount->ignore) && (mount->fs > MBR) && (mount->fs <= LASTFS)) + if (!mount->ignore) { log_printf("new mount : %s -> %s (%s)\n", name, dev, fs_names[mount->fs]); snprintf(tmp, 64, "%s%s", uci_path, name);