mjg f8e2d90c73 fd: fix f_count acquire in fget_unlocked
The code was using a hand-rolled fcmpset loop, while in other places the same
count is manipulated with the refcount API.

This transferred from a stylistic issue into a bug after the API got extended
to support flags. As a result the hand-rolled loop could bump the count high
enough to set the bit flag. Another bump + refcount_release would then free
the file prematurely.

The bug is only present in -CURRENT.
2020-02-03 14:28:31 +00:00
..
2019-12-15 21:11:15 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2020-01-05 12:48:19 +00:00
2020-01-05 12:48:19 +00:00
2019-12-15 21:11:15 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2020-01-05 12:48:19 +00:00
2019-12-15 21:11:15 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2019-12-15 21:11:15 +00:00
2019-12-15 21:26:50 +00:00
2020-01-12 23:52:16 +00:00
2019-09-26 15:41:10 +00:00
2020-02-02 16:34:57 +00:00
2020-02-02 16:34:57 +00:00
2020-02-02 16:34:57 +00:00