summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-01-11 12:23:05 +0100
committerChristoph Hellwig <hch@lst.de>2018-05-26 09:16:44 +0200
commit8f546ae1fc5ce8396827d4868c7eee1f1cc6947a (patch)
tree13fe296648f37eebc25982d6e5cad4b515ec4305 /fs/select.c
parentee219b946e4bf7df2d2c68dfaae1bdaa360ec2ea (diff)
downloadlinux-8f546ae1fc5ce8396827d4868c7eee1f1cc6947a.tar.bz2
fs: unexport poll_schedule_timeout
No users outside of select.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/select.c')
-rw-r--r--fs/select.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/select.c b/fs/select.c
index ba879c51288f..a87f396f0313 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