-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5403/
-----------------------------------------------------------

Review request for mesos, Benjamin Hindman and Jie Yu.


Description
-------

linux/fs.cpp calls the Lock constructor (which actually acquires the lock) from 
a static initializer and fails to properly initialize the pthread_mutex_t (as 
with PTHREAD_*_INITIALIZER or pthread_mutex_init()). This patch uses static 
pthread_mutex_t's and uses RAII-style locks instead.


Diffs
-----

  src/linux/fs.cpp 296990b 

Diff: https://reviews.apache.org/r/5403/diff/


Testing
-------


Thanks,

Charles Reiss

Reply via email to