Skip to content

Commit

Permalink
(kext) Avoid reusing a soft-revoked vnode
Browse files Browse the repository at this point in the history
There are two flavors for revoking vnodes, soft and hard.

* In case of a hard revoke the vnode is reclaimed immediately. As a
  result the vnode is removed from our vnode cache.

* In case of a soft revoke the vnode is only maked as revoked, but not
  reclaimed immediately. This means the vnode stays in the vnode cache
  until all open file handles are closed.

In case a file disappears "behind our back" the corresponding vnode is
soft-revoked. If a new file appears with the same inode number we need
to make sure not to reuse the revoked vnode.
  • Loading branch information
bfleischer committed Jun 10, 2017
1 parent 42ff4d6 commit d3126ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kext
Submodule kext updated from 21c588 to 4abbe3

0 comments on commit d3126ae

Please sign in to comment.