Author: trasz Date: Sat Nov 5 12:30:10 2016 New Revision: 308339 URL: https://svnweb.freebsd.org/changeset/base/308339
Log: Value returned by taskqueue_enqueue_timeout(9) is not an error; don't treat it as such. MFC after: 1 month Modified: head/sys/fs/autofs/autofs.c Modified: head/sys/fs/autofs/autofs.c ============================================================================== --- head/sys/fs/autofs/autofs.c Sat Nov 5 11:19:55 2016 (r308338) +++ head/sys/fs/autofs/autofs.c Sat Nov 5 12:30:10 2016 (r308339) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"