diff options
-rw-r--r-- | src/responder/nss/nsssrv_mmap_cache.c | 3 | ||||
-rw-r--r-- | src/tools/tools_mc_util.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_mmap_cache.c b/src/responder/nss/nsssrv_mmap_cache.c index ec05f761..49878fcf 100644 --- a/src/responder/nss/nsssrv_mmap_cache.c +++ b/src/responder/nss/nsssrv_mmap_cache.c @@ -768,6 +768,9 @@ done: * initialization ***************************************************************************/ +/* Copy of sss_mc_set_recycled is present in the src/tools/tools_mc_util.c. + * If you modify this function, you should modify the duplicated function + * too. */ static errno_t sss_mc_set_recycled(int fd) { uint32_t w = SSS_MC_HEADER_RECYCLED; diff --git a/src/tools/tools_mc_util.c b/src/tools/tools_mc_util.c index d623c48c..b563fac3 100644 --- a/src/tools/tools_mc_util.c +++ b/src/tools/tools_mc_util.c @@ -28,6 +28,9 @@ #include "util/mmap_cache.h" #include "sss_client/sss_cli.h" +/* This is a copy of sss_mc_set_recycled present in + * src/responder/nss/nsssrv_mmap_cache.c. If you modify this function, + * you should modify the original function too. */ static errno_t sss_mc_set_recycled(int fd) { uint32_t w = SSS_MC_HEADER_RECYCLED; |