Changeset 0a201454 in mainline for uspace/lib/c/generic/loader.c

Timestamp:
2019-10-07T11:21:27Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3106054
Parents:
5667dca
git-author:
Jiri Svoboda <jiri@…> (2019-10-06 11:19:48)
git-committer:
Jiri Svoboda <jiri@…> (2019-10-07 11:21:27)
Message:

Volsrv should not use zero as a valid reference count

Volume server allows the reference count for a valid volume with
persistent configuration to be zero, but refcnt did not expect that
and increasing refcount up from zero tripped assertion in the same_twice
test. The solution is to add one extra reference to persistent volumes
and have zero reference count always mean the volume can be freed.

(No files)

Note: See TracChangeset for help on using the changeset viewer.