Message ID | 20180208135020.16429-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="VXUK8FsN"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QosLAlAq"; 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 3zcfjc69Mzz9s8J for <incoming@patchwork.ozlabs.org>; Fri, 9 Feb 2018 00:51:00 +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=ziGvmbFrQVY7zmSoP+c7pBfGm3qkcjgLVZHjpggwnL8=; b=VXUK8FsNYXYJ+M /C1+wKKBu8z9IKDw0GIXIJVMoGsMI0wop6dbC4Hnk3LLMxKbJTkhXppd6zcD0io3gTSSTiO/08MdS QjUtxjL4UPVouhWn6S7ndBzdveVxi7gr++dZL0c+89HYNFTfV9A7tvpb24JCzS/YS+AYMw9o8f0Ve oxexjIm1VbJlLzbzrJcU9AdRTwwZmLI2Ct9aVeJ2vVdnUY8zrUfov5oVCRkQC04pTFO9/r1jtzqdG fRkYncJghQB5F42BBTq8BHPYJ5Wvs43z5UbyidvZt8Vc7n58B2tnBDSUX2Wl5GMAZHtBZx6AGcvWD /dlSjYwdWRihJkpWN7XA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejmbK-00088u-5u; Thu, 08 Feb 2018 13:50:58 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejmbB-00081N-VU for lede-dev@lists.infradead.org; Thu, 08 Feb 2018 13:50:51 +0000 Received: by mail-lf0-x244.google.com with SMTP id q17so6477399lfa.9 for <lede-dev@lists.infradead.org>; Thu, 08 Feb 2018 05:50:39 -0800 (PST) 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=4PJ694OFTVJqDiH1UAofxgih8bywRJ28K2zOxaYvC+U=; b=QosLAlAqj2V4aXq503Y02BSfaB/C+6RSe+gTWjuQtY+MozzgD0aVART4DvwzHY4evp n/lF3ldQnsCIM7OitqmCdzkadFAIY7xTNaJFvc43MA+qi2PPavHfWxvqGBTQX8JHDOyW BIyvd/4jexnXjuI2ObmeJHujIEDW5VcAUo1jVt3uRJxJKlaQ8fxCp1IdSJKn5m/U0nzx DaOENZhlkLGWgTgQy+b+Eg9oQXF02zzq1Sh/OUBJr5jNbmS4vAIODXt1CI5PirTJzT4E 5QKuxyQQyfdeo4WLJvmwnemm4jbmvVDqqGgqtzWB/G1GVYgawQxRTcMXuLaAxCv/bsJ8 3LHA== 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=4PJ694OFTVJqDiH1UAofxgih8bywRJ28K2zOxaYvC+U=; b=CEm+B9jR4Pf8Mo6Z5lUkgJ8Tujz3KUfno7ihYjokjAM4R0P8mxpxIU8z4KTrgTD80O UXmIf577vbg5LKkIc4xhTDtqK8mUxWLKIBvBNxeJnvq5TQzkWZYV8ClH8kv18U0V+p2H nslzALBqRcudCVmquaeI6nU2O0OPudE99hlKjadPedlHw4uxpW56yTXm47sgagnvLC53 QEM68NhTxWD/lOr+JtsFVYfBHcJ2aTUTqF7D1YMx0j8+rGyAeKfneJF17WTfFowbH0Xv gkyc1KW+eY3RroxZqizxxQEbGVFV08fe5f+dwmsjH+ogR0616T45ddzZy7jZzSS8e+B+ 1dSg== X-Gm-Message-State: APf1xPA0etgbNEQv/Ep5jfLvADIl1gtgQqZh5jXGdU1fHr9mIk44qF5v acHFRE337DGC8pZf3FyrvrsU5A== X-Google-Smtp-Source: AH8x226+yvRwe0yPwgvBjlKilUk6lkbWXzk2dv7VDzLZ2KWjAWwcIoDB8ZuZ4NJU0RbYcx4mIRSzKg== X-Received: by 10.46.19.17 with SMTP id 17mr576340ljt.102.1518097837784; Thu, 08 Feb 2018 05:50:37 -0800 (PST) Received: from linux-tdhb.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id x80sm2280lfb.60.2018.02.08.05.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 05:50:37 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: John Crispin <john@phrozen.org>, lede-dev@lists.infradead.org Date: Thu, 8 Feb 2018 14:50:20 +0100 Message-Id: <20180208135020.16429-2-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180208135020.16429-1-zajec5@gmail.com> References: <20180208135020.16429-1-zajec5@gmail.com> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4010:c07:0:0:0:244 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) -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) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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 Subject: [LEDE-DEV] [PATCH 2/2] mount: rename /proc/mount parser to mount_update_mount_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> 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 |
[LEDE-DEV,1/2] mount: improve handling mounts table size
|
expand
|
diff --git a/mount.c b/mount.c index 9cb1a43..f995745 100644 --- a/mount.c +++ b/mount.c @@ -612,7 +612,7 @@ char* is_mounted(char *block, char *path) return 0; } -static void mount_check_mount_list(void) +static void mount_update_mount_list(void) { FILE *fp = fopen("/proc/mounts", "r"); char tmp[256]; @@ -779,7 +779,7 @@ static void mount_check_enum(void) void mount_init(void) { INIT_LIST_HEAD(&mounts); - timer_add(mount_check_mount_list, 2); + timer_add(mount_update_mount_list, 2); timer_add(mount_check_enum, 1); - mount_check_mount_list(); + mount_update_mount_list(); }