Received: by 10.223.176.46 with SMTP id f43csp3340513wra; Mon, 22 Jan 2018 12:25:23 -0800 (PST) X-Google-Smtp-Source: AH8x227sgIfZBnoaVWlwghU5WzBoQTomD1HRBIzFSgbHD2T21GQn4wjjZTZlMJ18gLbA5WC8jhvU X-Received: by 10.107.21.133 with SMTP id 127mr177815iov.148.1516652723714; Mon, 22 Jan 2018 12:25:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516652723; cv=none; d=google.com; s=arc-20160816; b=SkyFNkc0uXSkYsYv4LhxbYkAV6NP96HX8C61S3rdcRJLJsfdZabe/2j3ND6E0UQ8tF zY3VZtPhwK4ch/PLOEbrym3adJOE6FhZx+JLB1Tj5NSfuv2hJeFu2p2hmtfW/ojNbgw+ pImbilegnCRe9KsRp9QuIgf9Taoyz0E2PolJRKeZnIadnKQYcBhgX8zEkUnSXp68FY5G j05QULWmSi1DR0zi/WUSyxCGxS/28qGnWFG6se9iXz5h0462p2ngiOEBp8yHTAxz0Tn7 80zL2xGWVtm8jane/1jKdGCmYrsAIyzgMb6+JrGq7yZK4ik2UCzTC4lrzlNB9Z1NFxv2 OqBA== 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=nzENo2ntykGSSqnPuGZ5apfxuEDOMAJ51eShuMTYkYk=; b=uIaCF4PFga+/GPuwonod2eTE+4/FQN3bM+PQJXNQqigk0hUYN5x2AUvngPt+OxXCSW 6iX6rYjq+ySIxq7t1lTTasRYpA2kED+hT77GrSyHm+2qrhlswOLcZ8bLSQUHYFb/XNjj 8hJqzg/5DSDJAdk3xm/yb4VJS/6Xeq1B9c8d5sbQrQT3/PsSSGlM3ID2mI2OyxPtEdwL kRB+lTmATqOfon+U3QGjaa++wKQ3TpwZDEfHQQOYaVP/i7JmhvuTrcEmOdpQj3mv/pjQ oPl7zv8bQ7Qd24w907UgloJ28k1vcnrJa9M/+RVX+x46oSj3bVat/g1ztHd5ft6EGvlt 6VQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pelfrWf+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 87si13424754iop.223.2018.01.22.12.25.10; Mon, 22 Jan 2018 12:25:23 -0800 (PST) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pelfrWf+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475AbeAVUNX (ORCPT + 99 others); Mon, 22 Jan 2018 15:13:23 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:51161 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973AbeAVUNR (ORCPT ); Mon, 22 Jan 2018 15:13:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nzENo2ntykGSSqnPuGZ5apfxuEDOMAJ51eShuMTYkYk=; b=pelfrWf+OuD+l+QOX0tvHhkSD LfCUWHyGK7wchp98o6ySLvMzn8K8rFDmnt1ZeWnnrdzEwN6wJs/y0PphJghYCNUq2egHHnWOXar0P 8clJl3EfmjZ90gtuDDFz5csbl6V/ce5KSc98u8wWCpsmUcau3JjOHnNb82HkMe61A1YbROUA1p+L9 rNUovFwyzmEdq+urdsxA1rz6Zj9Xh1mD65qXVtoIeFKJYh3uwvdvV+5PiVRjfHzM7a2cyRnkqq58i R/W2owZGYGUvIbuxgQBKI6z+AaxVGsMH3Zh4yWdic/53ys10v799lubxUixIsgKzuWG9v8RROah2N abyc3WgWA==; Received: from 178.114.226.247.wireless.dyn.drei.com ([178.114.226.247] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1ediSx-0007ZF-Ib; Mon, 22 Jan 2018 20:13:16 +0000 From: Christoph Hellwig To: viro@zeniv.linux.org.uk Cc: Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/36] fs: unexport poll_schedule_timeout Date: Mon, 22 Jan 2018 21:12:16 +0100 Message-Id: <20180122201243.31610-10-hch@lst.de> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180122201243.31610-1-hch@lst.de> References: <20180122201243.31610-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No users outside of select.c. Signed-off-by: Christoph Hellwig --- fs/select.c | 3 +-- include/linux/poll.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/select.c b/fs/select.c index ec14171dd78a..4e1dccac2702 100644 --- a/fs/select.c +++ b/fs/select.c @@ -233,7 +233,7 @@ static void __pollwait(struct file *filp, wait_queue_head_t *wait_address, add_wait_queue(wait_address, &entry->wait); } -int poll_schedule_timeout(struct poll_wqueues *pwq, int state, +static int poll_schedule_timeout(struct poll_wqueues *pwq, int state, ktime_t *expires, unsigned long slack) { int rc = -EINTR; @@ -258,7 +258,6 @@ int poll_schedule_timeout(struct poll_wqueues *pwq, int state, return rc; } -EXPORT_SYMBOL(poll_schedule_timeout); /** * poll_select_set_timeout - helper function to setup the timeout value diff --git a/include/linux/poll.h b/include/linux/poll.h index 04781a753326..a4b465fa2ca0 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h @@ -95,8 +95,6 @@ struct poll_wqueues { extern void poll_initwait(struct poll_wqueues *pwq); extern void poll_freewait(struct poll_wqueues *pwq); -extern int poll_schedule_timeout(struct poll_wqueues *pwq, int state, - ktime_t *expires, unsigned long slack); extern u64 select_estimate_accuracy(struct timespec64 *tv); #define MAX_INT64_SECONDS (((s64)(~((u64)0)>>1)/HZ)-1) -- 2.14.2