ref: 45333cdc92654eb58dc8c820dd58ae23c4a49640
parent: bc306a5a6322fece62d459b6f80ecc8f9867dcb1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Aug 8 19:28:47 EDT 2014
devmnt: fix potential race with mntflushfree(), remove mntstats, 0 vs nil cleanup when mountmux() completes a request for another process, enforce odering of the loads and stores to the request prior to writing q->done = 1 so mntflushfree() sees q->done != 0 only when the request has actually completed. otherwise, the q->done = 1 store could have been reordered before the load from q->z, reading from already freed request and causing spurious wakeups. removing unused mntstats callback. use nil for pointers instead of 0.