Mateusz Guzik fee204544e 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
..
2020-02-02 08:27:14 +00:00
2020-01-29 00:28:50 +00:00
2020-02-02 16:34:57 +00:00
2020-01-10 22:49:14 +00:00
2020-02-02 20:56:18 +00:00
2020-01-29 12:10:42 +00:00
2020-02-02 14:41:09 +00:00
2020-02-03 02:02:13 +00:00
2020-01-31 02:23:48 +00:00
2020-02-02 16:34:57 +00:00