Date: Sat, 18 Mar 2017 23:24:52 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315517 - stable/11/sys/fs/autofs Message-ID: <201703182324.v2INOq5W093652@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Sat Mar 18 23:24:52 2017 New Revision: 315517 URL: https://svnweb.freebsd.org/changeset/base/315517 Log: MFC r308339: Value returned by taskqueue_enqueue_timeout(9) is not an error; don't treat it as such. Modified: stable/11/sys/fs/autofs/autofs.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/fs/autofs/autofs.c ============================================================================== --- stable/11/sys/fs/autofs/autofs.c Sat Mar 18 23:00:13 2017 (r315516) +++ stable/11/sys/fs/autofs/autofs.c Sat Mar 18 23:24:52 2017 (r315517) @@ -442,12 +442,8 @@ autofs_trigger_one(struct autofs_node *a TIMEOUT_TASK_INIT(taskqueue_thread, &ar->ar_task, 0, autofs_task, ar); - error = taskqueue_enqueue_timeout(taskqueue_thread, - &ar->ar_task, autofs_timeout * hz); - if (error != 0) { - AUTOFS_WARN("taskqueue_enqueue_timeout() failed " - "with error %d", error); - } + taskqueue_enqueue_timeout(taskqueue_thread, &ar->ar_task, + autofs_timeout * hz); refcount_init(&ar->ar_refcount, 1); TAILQ_INSERT_TAIL(&autofs_softc->sc_requests, ar, ar_next); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703182324.v2INOq5W093652>