sapling/eden
Adam Simpkins 00b9a04aa1 rename InodeBase::getRefcount() to debugGetFuseRefcount()
Summary:
Rename `getRefcount()` to `debugGetFuseRefcount()` to make it clear that this
returns the FUSE reference count rather than the pointer refcount, and that
the result should not be used for anything other than debugging or diagnostic
purposes.

There is already a `getFuseRefcount()` method to check the FUSE refcount while
the inode is being unloaded.  The only time it is safe to check the FUSE
refcount for programmatic purposes, and `getFuseRefcount()` has a `DCHECK()` to
help ensure that this is the only time it is called.

(`getFuseRefcount()` also predates `getRefcount()`, which was added for the
`eden debug inode` command in D5277870.)

Reviewed By: chadaustin

Differential Revision: D7555997

fbshipit-source-id: e66f2b3d2b9eb14f8f8878d78978851929198a31
2018-04-09 14:08:13 -07:00
..
cli fix eden debug overlay to support the new non-materialized entry format 2018-04-03 14:21:45 -07:00
docs add an overview doc for our threading strategy 2017-12-12 12:51:23 -08:00
fs rename InodeBase::getRefcount() to debugGetFuseRefcount() 2018-04-09 14:08:13 -07:00
hooks Remove TARGETS files 2018-02-20 19:57:45 -08:00
integration move the logic for finding git and hg to find_executables 2018-04-06 12:36:53 -07:00
py Remove TARGETS files 2018-02-20 19:57:45 -08:00
scripts unmount stale edenfs mounts in eden doctor 2018-01-19 11:06:51 -08:00
third-party Remove TARGETS files 2018-02-20 19:57:45 -08:00
AUTODEPS Set up arc lint to run autodeps automatically for Eden. 2017-11-21 18:23:41 -08:00
DEFS have hg_import_helper.py use the local mercurial code during tests 2018-02-15 22:11:38 -08:00