diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-31 19:18:41 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-31 19:18:41 +0100 |
commit | 9ddc4f2a1717455e50eb6fd010cda4e5f4080c42 (patch) | |
tree | e5ace664784f41c2c743a62db5d6e21d5b261e01 /libdiskfs/Makefile | |
parent | 74bfb99acf027265b8b588ea3fa15204c426f919 (diff) |
libdiskfs: Factorize code for last hard reference being released
* libdiskfs/node-lastref.c: New file
* libdiskfs/Makefile (OTHERSRCS): Add node-lastref.c
* libdiskfs/libdiskfs/node-nput.c (diskfs_nput): Replace last hard reference
code with a call to _diskfs_lastref.
* libdiskfs/node-nrele.c (diskfs_nrele): Likewise.
Diffstat (limited to 'libdiskfs/Makefile')
-rw-r--r-- | libdiskfs/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/Makefile b/libdiskfs/Makefile index 803761d1..93c96fa6 100644 --- a/libdiskfs/Makefile +++ b/libdiskfs/Makefile @@ -40,8 +40,8 @@ IFSOCKSRCS=ifsock.c OTHERSRCS = conch-fetch.c conch-set.c dir-clear.c dir-init.c dir-renamed.c \ extern-inline.c \ node-create.c node-drop.c node-make.c node-rdwr.c node-update.c \ - node-nref.c node-nput.c node-nrele.c node-nrefl.c node-nputl.c \ - node-nrelel.c node-cache.c \ + node-nref.c node-nput.c node-nrele.c node-lastref.c node-nrefl.c \ + node-nputl.c node-nrelel.c node-cache.c \ peropen-make.c peropen-rele.c protid-make.c protid-rele.c \ init-init.c init-startup.c init-first.c init-main.c \ rdwr-internal.c boot-start.c demuxer.c node-times.c shutdown.c \ |