Project

General

Profile

Actions

Bug #6871

closed

libzpool implementation of thread_create should enforce length is 0

Added by Matthew Ahrens over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2016-04-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

The thread_create function has a `length` parameter that is never used, and ignored when passed in userland. The libzpool code should assert length is 0 instead of ignoring it.

Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 8fc922875ed266f52ccd5cc6f973b9ad0839c710

commit  8fc922875ed266f52ccd5cc6f973b9ad0839c710
Author: Eli Rosenthal <eli.rosenthal@delphix.com>
Date:   2016-04-20T19:46:31.000Z

    6871 libzpool implementation of thread_create should enforce length is 0
    Reviewed by: Paul Dagnelie <pcd@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF