Skip to content

Commit

Permalink
OS-6308 fix for OS-6275 blows assert on debug kernel
Browse files Browse the repository at this point in the history
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
  • Loading branch information
jjelinek committed Aug 24, 2017
1 parent 980510c commit 959bbe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/src/uts/common/brand/lx/syscall/lx_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ lx_hd_pipe(intptr_t arg, int flags)
* the pipe capacity is limited to "Fifohiwat" which is a compile-time
* limit set to FIFOHIWAT.
*/
mutex_enter(&VTOF(vp1)->fn_lock->flk_lock);
fifo_fastoff(VTOF(vp1));
mutex_exit(&VTOF(vp1)->fn_lock->flk_lock);

/*
* Set the O_NONBLOCK flag if requested.
Expand Down

0 comments on commit 959bbe4

Please sign in to comment.