diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-11 17:56:06 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-11 17:56:06 +0200 |
| commit | 8c4bb53bdcae806bb13dbe26df51a848ff563d36 (patch) | |
| tree | cc1b7c153a5e773b27daa0048cb143aea995468e /lib/cmap/bbmap | |
| parent | f43df64325efb80fc48a85009df016477238b21b (diff) | |
| download | plan9front-8c4bb53bdcae806bb13dbe26df51a848ff563d36.tar.xz | |
hjfs: fix abort() in givebuf()
it is possible for another getbuf() on buffer b to come in
before undelayreq() calls givebuf() on a buffer again. then
givebuf() would find b already busy and abort().
instead, we now handle what getbuf() did in givebuf() and
consider the Buf* argument to givebuf() as a hint only for
the case when we have to actually flush/read a block from
disk.
Diffstat (limited to 'lib/cmap/bbmap')
0 files changed, 0 insertions, 0 deletions
