summaryrefslogtreecommitdiff
path: root/usr/src/uts/common
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r--usr/src/uts/common/brand/lx/syscall/lx_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/brand/lx/syscall/lx_pipe.c b/usr/src/uts/common/brand/lx/syscall/lx_pipe.c
index cdada58f15..b96727cd8a 100644
--- a/usr/src/uts/common/brand/lx/syscall/lx_pipe.c
+++ b/usr/src/uts/common/brand/lx/syscall/lx_pipe.c
@@ -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.